diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-05-19 11:17:33 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-05-19 11:17:33 +0200 |
commit | 86c698a46f7efa5f106633f0d8c69683bd03aef2 (patch) | |
tree | 8d6e351f044677d572e40556813221032563c62e /tools/gst-play.c | |
parent | 59131a4ceb8484b5603123b102732770e4e49d22 (diff) |
gst-play: Free playlist_file string if only printing the version
Diffstat (limited to 'tools/gst-play.c')
-rw-r--r-- | tools/gst-play.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gst-play.c b/tools/gst-play.c index c267e9abf..ae68eff4e 100644 --- a/tools/gst-play.c +++ b/tools/gst-play.c @@ -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)) { |