Merge branch 'master' into 0.11
[platform/upstream/gstreamer.git] / gst / matroska / matroska-mux.c
index 4b5c8f6..850494f 100644 (file)
@@ -2361,6 +2361,7 @@ gst_matroska_mux_start (GstMatroskaMux * mux)
           "streamable=false. Will ignore that and create streamable output "
           "instead");
     }
+    gst_query_unref (query);
   }
 
   if (!strcmp (mux->doctype, GST_MATROSKA_DOCTYPE_WEBM)) {