Commit 7f00f686 authored by benoit's avatar benoit

asfdec: fix a memleak.

Patch from Anton Khirnov wyskas gmail


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22017 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2a979e58
...@@ -168,6 +168,7 @@ static void get_tag(AVFormatContext *s, const char *key, int type, int len) ...@@ -168,6 +168,7 @@ static void get_tag(AVFormatContext *s, const char *key, int type, int len)
snprintf(value, len, "%"PRIu64, num); snprintf(value, len, "%"PRIu64, num);
} else { } else {
url_fskip(s->pb, len); url_fskip(s->pb, len);
av_freep(&value);
return; return;
} }
if (!strncmp(key, "WM/", 3)) 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