[vlc-devel] commit: Fix memleak in gesture module. ( Rémi Duraffort )
git version control
git at videolan.org
Fri Aug 1 16:18:07 CEST 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Aug 1 16:16:33 2008 +0200| [981577922c4384c7cd349217e49e75a658fd5882] | committer: Rémi Duraffort
Fix memleak in gesture module.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=981577922c4384c7cd349217e49e75a658fd5882
---
modules/control/gestures.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/control/gestures.c b/modules/control/gestures.c
index e7003c9..df9f807 100644
--- a/modules/control/gestures.c
+++ b/modules/control/gestures.c
@@ -485,6 +485,7 @@ static int InitThread( intf_thread_t * p_intf )
{
p_intf->p_sys->i_button_mask = 4;
}
+ free( psz_button );
p_intf->p_sys->i_pattern = 0;
p_intf->p_sys->i_num_gestures = 0;
More information about the vlc-devel
mailing list