pbutils:encoding-target: Fix string memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=757926
This commit is contained in:
parent
b61e1465b7
commit
3f099e3c29
@ -801,6 +801,8 @@ get_matching_filenames (gchar * path, gchar * filename)
|
||||
tmp = g_build_filename (path, filename, NULL);
|
||||
if (g_file_test (tmp, G_FILE_TEST_EXISTS))
|
||||
res = g_list_append (res, tmp);
|
||||
else
|
||||
g_free (tmp);
|
||||
|
||||
while ((subdirname = g_dir_read_name (topdir))) {
|
||||
gchar *ltmp = g_build_filename (path, subdirname, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user