mirror of
https://github.com/mpv-player/mpv
synced 2025-01-31 04:02:06 +00:00
coverity report #179 from xine: variable "rest" not freed or pointed-to in function "rtsp_put" (see http://xine.cvs.sourceforge.net/xine/xine-lib/src/input/librtsp/rtsp.c?r1=1.19&r2=1.20)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18859 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6ab349aa68
commit
e0a094555d
@ -551,6 +551,7 @@ int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size) {
|
||||
rest=malloc(17);
|
||||
sprintf(rest,"CSeq: %u", seq);
|
||||
rtsp_put(s, rest);
|
||||
free(rest);
|
||||
rtsp_put(s, "");
|
||||
i=read_stream(s->s, buffer, size);
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user