Plug a memory leak

Valgrind reported a leak of regions from gdk_window_process_updates_internal.
This commit is contained in:
Matthias Clasen 2009-10-04 22:35:12 -04:00
parent 05ded28d7d
commit 4581432387

View File

@ -2624,6 +2624,8 @@ gdk_window_end_implicit_paint (GdkWindow *window)
/* Reset clip region of the cached GdkGC */
gdk_gc_set_clip_region (tmp_gc, NULL);
}
else
gdk_region_destroy (paint->region);
g_object_unref (paint->pixmap);
g_free (paint);