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:
ben 2006-06-29 22:00:01 +00:00
parent 6ab349aa68
commit e0a094555d
1 changed files with 1 additions and 0 deletions

View File

@ -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