projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
514b73c
)
asfdec: fix a memleak.
author
Benoit Fouet
<benoit.fouet@free.fr>
Wed, 24 Feb 2010 07:32:20 +0000
(07:32 +0000)
committer
Benoit Fouet
<benoit.fouet@free.fr>
Wed, 24 Feb 2010 07:32:20 +0000
(07:32 +0000)
Patch from Anton Khirnov wyskas gmail
Originally committed as revision 22017 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/asfdec.c
patch
|
blob
|
history
diff --git
a/libavformat/asfdec.c
b/libavformat/asfdec.c
index 7f26cf101a3360438f6a7c72fb1dc10538ef1e47..ae59a996e7a3a5c9a7647b91106bff6423875bc6 100644
(file)
--- 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))