diff options
author | Benoit Fouet <benoit.fouet@free.fr> | 2010-02-24 07:32:20 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2010-02-24 07:32:20 +0000 |
commit | 47794b9d3ee2e8fad92d5beeea5c4ec3b7e515f5 (patch) | |
tree | 470bc893c1f3e57283d8e8b2631303db2336605b /libavformat | |
parent | 514b73cf0d18282504100aea956154d55394f95d (diff) | |
download | ffmpeg-47794b9d3ee2e8fad92d5beeea5c4ec3b7e515f5.tar.gz |
asfdec: fix a memleak.
Patch from Anton Khirnov wyskas gmail
Originally committed as revision 22017 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/asfdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 7f26cf101a..ae59a996e7 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -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)) |