Commit e2e2e7dd authored by Alex Beregszaszi's avatar Alex Beregszaszi

.memleak fix by Ronald Bultje. OK'd by Luca.

Originally committed as revision 9697 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 4508af2d
...@@ -814,6 +814,8 @@ static void rtsp_send_cmd(AVFormatContext *s, ...@@ -814,6 +814,8 @@ static void rtsp_send_cmd(AVFormatContext *s,
} }
if (content_ptr) if (content_ptr)
*content_ptr = content; *content_ptr = content;
else
av_free(content);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment