[vlc-commits] hotkeys: fix crash when zooming

Erwan Tulou git at videolan.org
Mon Jun 11 23:12:17 CEST 2018


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Mon Jun 11 13:24:32 2018 +0200| [d1a441526653c477ef186fc1d97509c6b46f62df] | committer: Erwan Tulou

hotkeys: fix crash when zooming

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d1a441526653c477ef186fc1d97509c6b46f62df
---

 modules/control/hotkeys.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 5428373eb4..54d904b6c8 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -1263,7 +1263,7 @@ static int PutAction( intf_thread_t *p_intf, input_thread_t *p_input,
                     var_SetFloat( p_vout, "zoom", val_list[i].f_float );
                     DisplayMessage( p_vout, _("Zoom mode: %s"), text_list[i] );
 
-                    var_FreeStringList( count, val_list, text_list );
+                    var_FreeList( count, val_list, text_list );
                 }
             }
             break;



More information about the vlc-commits mailing list