From 1e4b8a7b60032f2a68ede460a2f10452b0af03e2 Mon Sep 17 00:00:00 2001 From: Ewald Snel Date: Sat, 21 Dec 2002 16:35:46 +0000 Subject: Fix memory leaks CVS patchset: 3614 CVS date: 2002/12/21 16:35:46 --- src/libspudec/xine_decoder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libspudec') diff --git a/src/libspudec/xine_decoder.c b/src/libspudec/xine_decoder.c index ccaad726a..e948a9a82 100644 --- a/src/libspudec/xine_decoder.c +++ b/src/libspudec/xine_decoder.c @@ -19,7 +19,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.90 2002/12/21 12:56:48 miguelfreitas Exp $ + * $Id: xine_decoder.c,v 1.91 2002/12/21 16:35:46 esnel Exp $ * * stuff needed to turn libspu into a xine decoder plugin */ @@ -185,6 +185,7 @@ static void spudec_dispose (spu_decoder_t *this_gen) { ovl_instance->free_handle(ovl_instance, this->spudec_stream_state[i].overlay_handle); this->spudec_stream_state[i].overlay_handle = -1; + free (this->spudec_stream_state[i].ra_seq.buf); } pthread_mutex_destroy(&this->nav_pci_lock); -- cgit v1.2.3