A region is freed in ScintillaGTK::ExposeTextThis with a g_free call instead of gdk_region_destroy. This should leak memory or worse -- the current gtk cvs doesn't allocate region structures with g_malloc or equivalent. The diff to ScintillaGTK.cxx is:

@@ -2199,7 +2214,7 @@ gint ScintillaGTK::ExposeTextThis(GtkWid
        paintState = notPainting;

        if (rgnUpdate) {
-               g_free(rgnUpdate);
+               gdk_region_destroy(rgnUpdate);
        }
        rgnUpdate = 0;

John
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to