changeset 17804:1a2aaf037d48

Fix memory leak cid 177
author rtognimp
date Fri, 10 Mar 2006 23:48:33 +0000
parents 51b992a72b17
children ff000b249bd9
files libmpdemux/demux_fli.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_fli.c	Fri Mar 10 22:15:50 2006 +0000
+++ b/libmpdemux/demux_fli.c	Fri Mar 10 23:48:33 2006 +0000
@@ -93,6 +93,8 @@
   {
     mp_msg(MSGT_DEMUX, MSGL_ERR, "Bad/unknown magic number (%04x)\n",
 	magic_number);
+    free(header);
+    free(frames);
     return(NULL);    
   }