1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-03-18 13:55:34 +01:00
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
..
2022-06-17 08:49:03 -05:00