changeset 17805:ff000b249bd9

Fix memory leak cid 176
author rtognimp
date Fri, 10 Mar 2006 23:51:41 +0000
parents 1a2aaf037d48
children 19096bce8095
files libmpdemux/demux_film.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_film.c	Fri Mar 10 23:48:33 2006 +0000
+++ b/libmpdemux/demux_film.c	Fri Mar 10 23:51:41 2006 +0000
@@ -237,6 +237,7 @@
   if (chunk_type != CHUNK_FILM)
   {
     mp_msg(MSGT_DEMUX, MSGL_ERR, "Not a FILM file\n");
+    free(film_data);
     return(NULL);    
   }