mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01: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:
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>
|
||||
|
||||
* 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_hash_table_destroy (key_file->group_hash);
|
||||
key_file->group_hash = NULL;
|
||||
|
||||
g_warn_if_fail (key_file->groups == NULL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user