]> git.sesse.net Git - vlc/commitdiff
Fixed a small memleak in cdda/vcd code.
authorLaurent Aimar <fenrir@videolan.org>
Tue, 24 Feb 2009 21:51:22 +0000 (22:51 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Tue, 24 Feb 2009 22:43:59 +0000 (23:43 +0100)
modules/access/vcd/cdrom.c

index 5ece9962c2c871bb8b960dd5f2884cda6204c435..b48e8a280b0eb63755b66a30f26c735dae630766 100644 (file)
@@ -184,6 +184,7 @@ void ioctl_Close( vlc_object_t * p_this, vcddev_t *p_vcddev )
     if( p_vcddev->i_device_handle != -1 )
         close( p_vcddev->i_device_handle );
 #endif
+    free( p_vcddev );
 }
 
 /*****************************************************************************