projects
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
asfdec: fix a memleak.
[ffmpeg.git]
/
libavformat
/
asfdec.c
diff --git
a/libavformat/asfdec.c
b/libavformat/asfdec.c
index
7f26cf1
..
ae59a99
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))