Commit 98157792 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix memleak in gesture module.

parent 688f0a8d
...@@ -485,6 +485,7 @@ static int InitThread( intf_thread_t * p_intf ) ...@@ -485,6 +485,7 @@ static int InitThread( intf_thread_t * p_intf )
{ {
p_intf->p_sys->i_button_mask = 4; p_intf->p_sys->i_button_mask = 4;
} }
free( psz_button );
p_intf->p_sys->i_pattern = 0; p_intf->p_sys->i_pattern = 0;
p_intf->p_sys->i_num_gestures = 0; p_intf->p_sys->i_num_gestures = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment