mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
rtspconnection: remove extra return and fix GError leak
https://bugzilla.gnome.org/show_bug.cgi?id=687473
This commit is contained in:
parent
ff04a1b4c6
commit
4b083d608e
1 changed files with 0 additions and 1 deletions
|
@ -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 */
|
/* remember the original character we read and try again next time */
|
||||||
if (conn->read_ahead == 0)
|
if (conn->read_ahead == 0)
|
||||||
conn->read_ahead = c;
|
conn->read_ahead = c;
|
||||||
return GST_RTSP_EINTR;
|
|
||||||
g_clear_error (&err);
|
g_clear_error (&err);
|
||||||
return GST_RTSP_EINTR;
|
return GST_RTSP_EINTR;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue