mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-21 08:28:53 +02:00
Free group_hash. (#503420, Christian Persch)
2007-12-13 Matthias Clasen <mclasen@redhat.com> * glib/gkeyfile.c (g_key_file_clear): Free group_hash. (#503420, Christian Persch) svn path=/trunk/; revision=6107
This commit is contained in:
committed by
Matthias Clasen
parent
77162a7c7c
commit
20d002d466
@@ -1,3 +1,8 @@
|
|||||||
|
2007-12-13 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gkeyfile.c (g_key_file_clear): Free group_hash.
|
||||||
|
(#503420, Christian Persch)
|
||||||
|
|
||||||
2007-12-12 16:06:11 Tim Janik <timj@imendio.com>
|
2007-12-12 16:06:11 Tim Janik <timj@imendio.com>
|
||||||
|
|
||||||
* tests/testglib.c: split up tests and reworked code to use
|
* tests/testglib.c: split up tests and reworked code to use
|
||||||
|
@@ -236,6 +236,9 @@ g_key_file_clear (GKeyFile *key_file)
|
|||||||
g_key_file_remove_group_node (key_file, group_node);
|
g_key_file_remove_group_node (key_file, group_node);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_hash_table_destroy (key_file->group_hash);
|
||||||
|
key_file->group_hash = NULL;
|
||||||
|
|
||||||
g_warn_if_fail (key_file->groups == NULL);
|
g_warn_if_fail (key_file->groups == NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user