metacity r4103 - in trunk: . src/core



Author: tthurman
Date: Sun Feb  1 20:47:33 2009
New Revision: 4103
URL: http://svn.gnome.org/viewvc/metacity?rev=4103&view=rev

Log:
        Set prop_hooks_table to NULL after freeing it.
	* src/core/window-props.c:



Modified:
   trunk/ChangeLog
   trunk/src/core/window-props.c

Modified: trunk/src/core/window-props.c
==============================================================================
--- trunk/src/core/window-props.c	(original)
+++ trunk/src/core/window-props.c	Sun Feb  1 20:47:33 2009
@@ -1463,10 +1463,10 @@
 meta_display_free_window_prop_hooks (MetaDisplay *display)
 {
   g_hash_table_unref (display->prop_hooks);
-  display->prop_hooks_table = NULL;
+  display->prop_hooks = NULL;
 
   g_free (display->prop_hooks_table);
-  display->prop_hooks = NULL;
+  display->prop_hooks_table = NULL;
 }
 
 static MetaWindowPropHooks*



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]