rtspconnection: remove extra return and fix GError leak
authorMiguel Angel Cabrera Moya <madmac2501@gmail.com>
Fri, 2 Nov 2012 19:13:07 +0000 (20:13 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 2 Nov 2012 19:30:23 +0000 (19:30 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=687473

gst-libs/gst/rtsp/gstrtspconnection.c

index f242ad7..8536b93 100644 (file)
@@ -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;
         }