.memleak fix by Ronald Bultje. OK'd by Luca.
Originally committed as revision 9697 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4508af2daa
commit
e2e2e7dd70
@ -814,6 +814,8 @@ static void rtsp_send_cmd(AVFormatContext *s,
|
||||
}
|
||||
if (content_ptr)
|
||||
*content_ptr = content;
|
||||
else
|
||||
av_free(content);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user