mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue