summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas James Alexander Thurman <tthurman@src.gnome.org>2009-02-01 20:47:33 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2009-02-01 20:47:33 +0000
commite5db44ca907d2724d4b6bb2d966c7f595883352c (patch)
tree0adccacf425c1d4b699210b2d5d5ba1483256556
parent032cbe0dd56f106814010e54f281b251fb179936 (diff)
downloadmetacity-e5db44ca907d2724d4b6bb2d966c7f595883352c.tar.gz
Set prop_hooks_table to NULL after freeing it.
* src/core/window-props.c: svn path=/trunk/; revision=4103
-rw-r--r--ChangeLog6
-rw-r--r--src/core/window-props.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0be74c85..d6ca63b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-02-01 Matt Kraai <kraai@ftbfs.org>
+
+ Set prop_hooks_table to NULL after freeing it.
+
+ * src/core/window-props.c:
+
2009-01-29 Thomas Thurman <tthurman@gnome.org>
Window properties are looked up in a hash table rather than
diff --git a/src/core/window-props.c b/src/core/window-props.c
index 47855537..2ef3597a 100644
--- a/src/core/window-props.c
+++ b/src/core/window-props.c
@@ -1463,10 +1463,10 @@ void
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*