urisourcebin: Unref query with gst_query_unref()

Not gst_object_unref().
This commit is contained in:
Sebastian Dröge 2017-05-18 11:02:51 +03:00
parent f460d7d184
commit efbda07cfa

View file

@ -1980,7 +1980,7 @@ handle_new_pad (GstURISourceBin * urisrc, GstPad * srcpad, GstCaps * caps)
gst_query_parse_duration (query, NULL, &dur);
do_download = (dur != -1);
}
gst_object_unref (query);
gst_query_unref (query);
}
GST_DEBUG_OBJECT (urisrc, "check media-type %s, %d", media_type,