Commit fa66b271 authored by Ben Gamari's avatar Ben Gamari Committed by Matthias Clasen

gdkwindow-x11: Ensure that extended update counter is freed

I believe this lead to rampant leakage of SyncCounters by
parent a45b1d1e
......@@ -1297,7 +1297,10 @@ gdk_toplevel_x11_free_contents (GdkDisplay *display,
XSyncDestroyCounter (GDK_DISPLAY_XDISPLAY (display),
XSyncDestroyCounter (GDK_DISPLAY_XDISPLAY (display),
toplevel->update_counter = None;
toplevel->extended_update_counter = None;
toplevel->current_counter_value = 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment