]> git.sesse.net Git - vlc/commitdiff
* modules/codec/quicktime.c: fixed small mem leak.
authorGildas Bazin <gbazin@videolan.org>
Sun, 14 Nov 2004 17:59:33 +0000 (17:59 +0000)
committerGildas Bazin <gbazin@videolan.org>
Sun, 14 Nov 2004 17:59:33 +0000 (17:59 +0000)
modules/codec/quicktime.c

index 2b5eb26adc6c5b53f909493d52c7254a73d0a112..de073126c035f9068221ba02dc1f472a1342e7a6 100644 (file)
@@ -2,7 +2,7 @@
  * quicktime.c: a quicktime decoder that uses the QT library/dll
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: quicktime.c,v 1.21 2004/01/25 18:20:12 bigben Exp $
+ * $Id$
  *
  * Authors: Laurent Aimar <fenrir at via.ecp.fr>
  *          Derk-Jan Hartman <thedj at users.sf.net>
@@ -485,6 +485,8 @@ exit_error:
     vlc_mutex_unlock( &p_dec->p_vlc->quicktime_lock );
 #endif
     vlc_mutex_unlock( lockval.p_address );
+
+    free( p_sys );
     return VLC_EGENERIC;
 }