Commit 47794b9d authored by Benoit Fouet's avatar Benoit Fouet

asfdec: fix a memleak.

Patch from Anton Khirnov wyskas gmail

Originally committed as revision 22017 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 514b73cf
......@@ -168,6 +168,7 @@ static void get_tag(AVFormatContext *s, const char *key, int type, int len)
snprintf(value, len, "%"PRIu64, num);
} else {
url_fskip(s->pb, len);
av_freep(&value);
return;
}
if (!strncmp(key, "WM/", 3))
......
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