From: Miguel Angel Cabrera Moya Date: Fri, 2 Nov 2012 19:13:07 +0000 (+0100) Subject: rtspconnection: remove extra return and fix GError leak X-Git-Tag: 1.19.3~511^2~5780 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b083d608ef9f2bbf3088f167d3751a7f29b5c9a;p=platform%2Fupstream%2Fgstreamer.git rtspconnection: remove extra return and fix GError leak https://bugzilla.gnome.org/show_bug.cgi?id=687473 --- diff --git a/gst-libs/gst/rtsp/gstrtspconnection.c b/gst-libs/gst/rtsp/gstrtspconnection.c index f242ad7..8536b93 100644 --- a/gst-libs/gst/rtsp/gstrtspconnection.c +++ b/gst-libs/gst/rtsp/gstrtspconnection.c @@ -1086,7 +1086,6 @@ read_line (GstRTSPConnection * conn, guint8 * buffer, guint * idx, guint size) /* remember the original character we read and try again next time */ if (conn->read_ahead == 0) conn->read_ahead = c; - return GST_RTSP_EINTR; g_clear_error (&err); return GST_RTSP_EINTR; }