From: Rocky Bernstein Date: Sun, 22 Feb 2004 10:52:23 +0000 (+0000) Subject: Fix valgrind-caught memory leak. X-Git-Tag: 0.7.1~93 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=sidebyside;h=5caf4452923297d8bc62e6b9122a61f605769e35;p=vlc Fix valgrind-caught memory leak. --- diff --git a/modules/codec/ogt/common.c b/modules/codec/ogt/common.c index 9c974a407f..c1506fdd0d 100644 --- a/modules/codec/ogt/common.c +++ b/modules/codec/ogt/common.c @@ -2,7 +2,7 @@ * Common SVCD and CVD subtitle routines. ***************************************************************************** * Copyright (C) 2003, 2004 VideoLAN - * $Id: common.c,v 1.12 2004/01/31 05:53:35 rocky Exp $ + * $Id: common.c,v 1.13 2004/02/22 10:52:23 rocky Exp $ * * Author: Rocky Bernstein * based on code from: @@ -76,6 +76,7 @@ void VCDSubClose( vlc_object_t *p_this ) block_ChainRelease( p_sys->p_block ); } + free(p_sys->subtitle_data); free( p_sys ); }