mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
gst-play: Free playlist_file string if only printing the version
This commit is contained in:
parent
59131a4ceb
commit
86c698a46f
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue