mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 09:16:17 +01:00
Don't destroy the lookup map if it is NULL.
2004-10-24 Matthias Clasen <mclasen@redhat.com> * glib/gkeyfile.c (g_key_file_remove_group_node): Don't destroy the lookup map if it is NULL. 20
This commit is contained in:
parent
2e7514d052
commit
1ec985a141
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-24 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gkeyfile.c (g_key_file_remove_group_node): Don't
|
||||||
|
destroy the lookup map if it is NULL.
|
||||||
|
|
||||||
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gasyncqueue.c, glib/gatomic.c, glib/gdate.c,
|
* glib/gasyncqueue.c, glib/gatomic.c, glib/gdate.c,
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-24 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gkeyfile.c (g_key_file_remove_group_node): Don't
|
||||||
|
destroy the lookup map if it is NULL.
|
||||||
|
|
||||||
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gasyncqueue.c, glib/gatomic.c, glib/gdate.c,
|
* glib/gasyncqueue.c, glib/gatomic.c, glib/gdate.c,
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-24 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gkeyfile.c (g_key_file_remove_group_node): Don't
|
||||||
|
destroy the lookup map if it is NULL.
|
||||||
|
|
||||||
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gasyncqueue.c, glib/gatomic.c, glib/gdate.c,
|
* glib/gasyncqueue.c, glib/gatomic.c, glib/gdate.c,
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-24 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gkeyfile.c (g_key_file_remove_group_node): Don't
|
||||||
|
destroy the lookup map if it is NULL.
|
||||||
|
|
||||||
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gasyncqueue.c, glib/gatomic.c, glib/gdate.c,
|
* glib/gasyncqueue.c, glib/gatomic.c, glib/gdate.c,
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-24 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gkeyfile.c (g_key_file_remove_group_node): Don't
|
||||||
|
destroy the lookup map if it is NULL.
|
||||||
|
|
||||||
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gasyncqueue.c, glib/gatomic.c, glib/gdate.c,
|
* glib/gasyncqueue.c, glib/gatomic.c, glib/gdate.c,
|
||||||
|
@ -2168,8 +2168,11 @@ g_key_file_remove_group_node (GKeyFile *key_file,
|
|||||||
g_list_free (group->key_value_pairs);
|
g_list_free (group->key_value_pairs);
|
||||||
group->key_value_pairs = NULL;
|
group->key_value_pairs = NULL;
|
||||||
|
|
||||||
g_hash_table_destroy (group->lookup_map);
|
if (group->lookup_map)
|
||||||
group->lookup_map = NULL;
|
{
|
||||||
|
g_hash_table_destroy (group->lookup_map);
|
||||||
|
group->lookup_map = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
g_free ((gchar *) group->name);
|
g_free ((gchar *) group->name);
|
||||||
g_free (group);
|
g_free (group);
|
||||||
|
Loading…
Reference in New Issue
Block a user