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 5ece996..b48e8a2 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 );
 }
 
 /*****************************************************************************