changeset 5706:85900cc2695d libavformat

asfdec: fix a memleak. Patch from Anton Khirnov wyskas gmail
author benoit
date Wed, 24 Feb 2010 07:32:20 +0000
parents fabb2eb7d42c
children a97d8df3be2b
files asfdec.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/asfdec.c	Wed Feb 24 07:31:03 2010 +0000
+++ b/asfdec.c	Wed Feb 24 07:32:20 2010 +0000
@@ -168,6 +168,7 @@
         snprintf(value, len, "%"PRIu64, num);
     } else {
         url_fskip(s->pb, len);
+        av_freep(&value);
         return;
     }
     if (!strncmp(key, "WM/", 3))