mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Don't return freed memory (#505815, Mikael Hermansson)
2007-12-26 Matthias Clasen <mclasen@redhat.com> * gcontenttype.c (g_content_types_get_registered): Don't return freed memory (#505815, Mikael Hermansson) svn path=/trunk/; revision=6205
This commit is contained in:
parent
4ec183a164
commit
a06dd20aef
@ -1,3 +1,8 @@
|
||||
2007-12-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gcontenttype.c (g_content_types_get_registered): Don't return
|
||||
freed memory (#505815, Mikael Hermansson)
|
||||
|
||||
2007-12-25 Paolo Borelli <pborelli@katamail.com>
|
||||
|
||||
* glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
|
||||
|
@ -854,7 +854,7 @@ g_content_types_get_registered (void)
|
||||
int i;
|
||||
GList *l;
|
||||
|
||||
mimetypes = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
|
||||
mimetypes = g_hash_table_new (g_str_hash, g_str_equal);
|
||||
|
||||
enumerate_mimetypes_dir (g_get_user_data_dir (), mimetypes);
|
||||
dirs = g_get_system_data_dirs ();
|
||||
|
Loading…
Reference in New Issue
Block a user