Commit 86c698a4 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

gst-play: Free playlist_file string if only printing the version

parent 59131a4c
......@@ -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)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment