From 4b083d608ef9f2bbf3088f167d3751a7f29b5c9a Mon Sep 17 00:00:00 2001 From: Miguel Angel Cabrera Moya Date: Fri, 2 Nov 2012 20:13:07 +0100 Subject: [PATCH] rtspconnection: remove extra return and fix GError leak https://bugzilla.gnome.org/show_bug.cgi?id=687473 --- gst-libs/gst/rtsp/gstrtspconnection.c | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.7.4