GNOME Bugzilla – Bug 736589
windows.c: Fix leaked error trap
Last modified: 2014-09-12 21:30:41 UTC
The merge of the commit af46ef3b 'meta_window_new: clean up error handling' to the wayland branch accidentally added an extra call to meta_error_trap_push(), meaning that we leaked one level of error traps for each new window. Fixes warning: Gdk-WARNING **: XSetErrorHandler() called with a GDK error trap pushed.
Created attachment 286091 [details] [review] windows.c: Fix leaked error trap
Review of attachment 286091 [details] [review]: Commit message should say "window-x11" instead of "windows.c". Otherwise looks good. You could have directly pushed this one.
I figured that if it was tricky enough to get wrong once, it didn't hurt to have a second pair of eyes to check the fix.