]> Pileus Git - ~andy/gtk/commit
Duplicate the mime_type when storing it in a hash node, to avoid leaks.
authorMatthias Clasen <mclasen@redhat.com>
Mon, 9 Apr 2007 18:31:11 +0000 (18:31 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 9 Apr 2007 18:31:11 +0000 (18:31 +0000)
commit8140741f898f1f4771e4f36236c03314a3a54073
treec50c22ba9a9a4963c15c05490fda15e940c9cd4e
parente188c8c0afc835ad88c83f885850842172d5005e
Duplicate the mime_type when storing it in a hash node, to avoid leaks.

2007-04-09  Matthias Clasen  <mclasen@redhat.com>

        * xdgmimeglob.c (_xdg_glob_hash_insert_text): Duplicate the
        mime_type when storing it in a hash node, to avoid leaks.
        Update all callers.

svn path=/trunk/; revision=17589
gtk/xdgmime/ChangeLog
gtk/xdgmime/xdgmimeglob.c