changeset 7760:5262223af043

memleak fix
author arpi
date Wed, 16 Oct 2002 20:17:20 +0000
parents d4f1dca113d9
children f4bc6ef7678c
files libmpdemux/demux_ogg.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ogg.c	Wed Oct 16 20:14:29 2002 +0000
+++ b/libmpdemux/demux_ogg.c	Wed Oct 16 20:17:20 2002 +0000
@@ -416,6 +416,7 @@
     /// Error
     if(np < 0) {
       mp_msg(MSGT_DEMUX,MSGL_DBG2,"OGG demuxer : Bad page sync\n");
+      free(ogg_d);
       return 0;
     }
     /// Need some more data