summaryrefslogtreecommitdiff
path: root/ext/dash/gstmpdparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dash/gstmpdparser.c')
-rw-r--r--ext/dash/gstmpdparser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c
index 7b0e43862..7642cebfb 100644
--- a/ext/dash/gstmpdparser.c
+++ b/ext/dash/gstmpdparser.c
@@ -3366,8 +3366,7 @@ combine_urls (GstUri * base, GList * list, gchar ** query, guint idx)
gst_uri_unref (base);
if (ret && query) {
- if (*query)
- g_free (*query);
+ g_free (*query);
*query = gst_uri_get_query_string (ret);
if (*query) {
ret = gst_uri_make_writable (ret);