encoding-target: free fullname on failure
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9115>
This commit is contained in:
parent
fdbc6deb39
commit
6aca08f155
@ -1213,8 +1213,10 @@ sub_get_all_targets (gchar * subdir)
|
||||
if (target) {
|
||||
target->path = fullname;
|
||||
res = g_list_append (res, target);
|
||||
} else
|
||||
} else {
|
||||
GST_WARNING ("Failed to get a target from %s", fullname);
|
||||
g_free (fullname);
|
||||
}
|
||||
}
|
||||
g_dir_close (dir);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user