memory leak in xdg_user_dir_lookup_with_fallback
Submitted by pro..@..il.com
Assigned to Alexander Larsson @alexl
Description
there's a memory leak in xdg_user_dir_lookup_with_fallback when the user-dirs.dirs file contains duplicate entries. user_dir is allocated, then not freed the next time around the line-reading loop.
Fix: add on line 133: free(user_dir);