mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 07:36:17 +01:00
Don't leak path
2005-02-09 Matthias Clasen <mclasen@redhat.com> * glib/gkeyfile.c (find_file_in_data_dirs): Don't leak path
This commit is contained in:
parent
574076fb80
commit
de2763c99a
@ -1,3 +1,8 @@
|
||||
2005-02-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gkeyfile.c (find_file_in_data_dirs): Don't leak path
|
||||
here. (#166801, Kjartan Maraas)
|
||||
|
||||
2005-02-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gkeyfile.c (g_key_file_parse_value_as_string): Don't
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-02-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gkeyfile.c (find_file_in_data_dirs): Don't leak path
|
||||
here. (#166801, Kjartan Maraas)
|
||||
|
||||
2005-02-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gkeyfile.c (g_key_file_parse_value_as_string): Don't
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-02-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gkeyfile.c (find_file_in_data_dirs): Don't leak path
|
||||
here. (#166801, Kjartan Maraas)
|
||||
|
||||
2005-02-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gkeyfile.c (g_key_file_parse_value_as_string): Don't
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-02-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gkeyfile.c (find_file_in_data_dirs): Don't leak path
|
||||
here. (#166801, Kjartan Maraas)
|
||||
|
||||
2005-02-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gkeyfile.c (g_key_file_parse_value_as_string): Don't
|
||||
|
@ -342,6 +342,8 @@ find_file_in_data_dirs (const gchar *file,
|
||||
if (output_file != NULL && fd > 0)
|
||||
*output_file = g_strdup (path);
|
||||
|
||||
g_free (path);
|
||||
|
||||
return fd;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user