mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
asfdec: fix a memleak.
Patch from Anton Khirnov wyskas gmail Originally committed as revision 22017 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
514b73cf0d
commit
47794b9d3e
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user