Commit 0491e392 authored by alex's avatar alex

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9697 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 04b8b2ea
...@@ -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