glib/gio/xdgmime
Michael Catanzaro f95ca6cb71 xdgmime: fix double free
We free xdg_dirs[i] twice, but fail to free xdg_dirs itself.

Also, since free() is NULL-safe, there is no need for the second check
here.

Discovered in: https://gitlab.freedesktop.org/xdg/xdgmime/-/merge_requests/16#note_1432025
2022-06-17 08:49:03 -05:00
..
.gitignore gio/ docs/reference/gio Merged gio-standalone into glib. 2007-11-26 16:13:05 +00:00
meson.build Force to use the config.h header file (required for HAVE_MMAP macro) 2021-09-23 11:32:02 +02:00
xdgmime.c xdgmime: fix double free 2022-06-17 08:49:03 -05:00
xdgmime.h Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimealias.c Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimealias.h Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimecache.c xdgmime: Fix broken file:// content type lookups for webkitgtk 2022-06-01 14:02:53 +01:00
xdgmimecache.h Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimeglob.c Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimeglob.h Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimeicon.c Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimeicon.h Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimeint.c gio/xdgmime/: LGPLv2+ -> LGPLv2.1+ 2021-09-23 19:23:33 +02:00
xdgmimeint.h gio/xdgmime/: LGPLv2+ -> LGPLv2.1+ 2021-09-23 19:23:33 +02:00
xdgmimemagic.c xdgmime: Fix unused-variable warning 2022-01-25 20:18:41 +01:00
xdgmimemagic.h gio/xdgmime/: LGPLv2+ -> LGPLv2.1+ 2021-09-23 19:23:33 +02:00
xdgmimeparent.c Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimeparent.h Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00