[vlc-devel] commit: Fixed a small memleak in cdda/vcd code. (Laurent Aimar )
git version control
git at videolan.org
Tue Feb 24 23:44:56 CET 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Feb 24 22:51:22 2009 +0100| [93eaf1bcd713cd8c84cab81f7695aeee01b2df02] | committer: Laurent Aimar
Fixed a small memleak in cdda/vcd code.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=93eaf1bcd713cd8c84cab81f7695aeee01b2df02
---
modules/access/vcd/cdrom.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/access/vcd/cdrom.c b/modules/access/vcd/cdrom.c
index 5ece996..b48e8a2 100644
--- a/modules/access/vcd/cdrom.c
+++ b/modules/access/vcd/cdrom.c
@@ -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 );
}
/*****************************************************************************
More information about the vlc-devel
mailing list