mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
Set prop_hooks_table to NULL after freeing it.
* src/core/window-props.c: svn path=/trunk/; revision=4103
This commit is contained in:
parent
032cbe0dd5
commit
e5db44ca90
@ -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>
|
2009-01-29 Thomas Thurman <tthurman@gnome.org>
|
||||||
|
|
||||||
Window properties are looked up in a hash table rather than
|
Window properties are looked up in a hash table rather than
|
||||||
|
@ -1463,10 +1463,10 @@ void
|
|||||||
meta_display_free_window_prop_hooks (MetaDisplay *display)
|
meta_display_free_window_prop_hooks (MetaDisplay *display)
|
||||||
{
|
{
|
||||||
g_hash_table_unref (display->prop_hooks);
|
g_hash_table_unref (display->prop_hooks);
|
||||||
display->prop_hooks_table = NULL;
|
display->prop_hooks = NULL;
|
||||||
|
|
||||||
g_free (display->prop_hooks_table);
|
g_free (display->prop_hooks_table);
|
||||||
display->prop_hooks = NULL;
|
display->prop_hooks_table = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static MetaWindowPropHooks*
|
static MetaWindowPropHooks*
|
||||||
|
Loading…
Reference in New Issue
Block a user