changeset 31907:8df8d8fbadf1

Fix a memleak.
author reimar
date Sat, 21 Aug 2010 09:19:12 +0000
parents 0a895a0ce15a
children b1ba93bcedb1
files stream/stream_bd.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_bd.c	Sat Aug 21 09:18:29 2010 +0000
+++ b/stream/stream_bd.c	Sat Aug 21 09:19:12 2010 +0000
@@ -233,6 +233,7 @@
                "No Volume Unique Key (VUK) found for this Disc: ");
         for (j = 0; j < 20; j++) mp_msg(MSGT_OPEN, MSGL_ERR, "%02x", discid[j]);
         mp_msg(MSGT_OPEN, MSGL_ERR, "\n");
+        av_free(buf);
         return 0;
     }