From 233e9e64b876581d963ee571bf5f1acde7fa74cb Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 16 Apr 2014 16:51:15 +0200 Subject: [PATCH] rtpjitterbuffer: don't free the serialized query We should never free a serialized query in the queue, it is the upstream caller that will free it. --- gst/rtpmanager/gstrtpjitterbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c index bda53dc45d..d406a32510 100644 --- a/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/gst/rtpmanager/gstrtpjitterbuffer.c @@ -791,7 +791,7 @@ alloc_item (gpointer data, guint type, GstClockTime dts, GstClockTime pts, static void free_item (RTPJitterBufferItem * item) { - if (item->data) + if (item->data && item->type != ITEM_TYPE_QUERY) gst_mini_object_unref (item->data); g_slice_free (RTPJitterBufferItem, item); }