gst-play: Free playlist_file string if only printing the version
This commit is contained in:
parent
59131a4ceb
commit
86c698a46f
@ -712,6 +712,7 @@ main (int argc, char **argv)
|
||||
|
||||
g_free (audio_sink);
|
||||
g_free (video_sink);
|
||||
g_free (playlist_file);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@ -739,6 +740,7 @@ main (int argc, char **argv)
|
||||
g_clear_error (&err);
|
||||
}
|
||||
g_free (playlist_file);
|
||||
playlist_file = NULL;
|
||||
}
|
||||
|
||||
if (playlist->len == 0 && (filenames == NULL || *filenames == NULL)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user