Michael Catanzaro 3f10df2d7b 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

(cherry-picked from commit f95ca6cb713383548f16f9a8ba2f6c51a4d25e25)
2022-09-20 12:19:56 +02:00
..
2022-09-20 12:19:56 +02:00