GNOME Bugzilla – Bug 570130
Memory leak in meta_display_free_window_prop_hooks
Last modified: 2009-02-01 21:05:06 UTC
Please describe the problem: In meta_display_free_window_prop_hooks, display->prop_hooks_table is set to NULL before it is freed. As a result, the table is never deallocated. I'll attach a patch shortly which fixes this problem. Steps to reproduce: 1. Call meta_display_init_window_prop_hooks. 2. Call meta_display_free_window_prop_hooks. 3. Profit! Actual results: The memory allocated for the hooks table is leaked. Expected results: The memory allocate for the hooks table would be freed. Does this happen every time? Yes. Other information:
Created attachment 127719 [details] [review] Patch
Oops. Committed with thanks.