From: Sreerenj Balachandran Date: Tue, 1 May 2012 14:55:02 +0000 (+0300) Subject: videocontext: Remove the explicit unrefing of pad object getting from iterator. X-Git-Tag: 1.19.3~507^2~15599 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99b6f14486e069dc02d7c4090417aebd104bd291;p=platform%2Fupstream%2Fgstreamer.git videocontext: Remove the explicit unrefing of pad object getting from iterator. --- diff --git a/gst-libs/gst/video/videocontext.c b/gst-libs/gst/video/videocontext.c index 489cf06a70..e84aa213b9 100644 --- a/gst-libs/gst/video/videocontext.c +++ b/gst-libs/gst/video/videocontext.c @@ -192,7 +192,6 @@ gst_video_context_pad_query (const GValue * item, GValue * value, gboolean res; res = gst_pad_peer_query (pad, query); - gst_object_unref (pad); if (res) { g_value_set_boolean (value, TRUE);