From fbd69257b509d3374573282ee08f5d9fc9ed4095 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 24 Jan 2020 00:09:11 +0100 Subject: It ain't much but it's honest work --- src/ft_key_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_key_events.c') diff --git a/src/ft_key_events.c b/src/ft_key_events.c index 6702988..088df54 100644 --- a/src/ft_key_events.c +++ b/src/ft_key_events.c @@ -44,8 +44,8 @@ ft_key_event(int keycode, void *param) (keycode <= 3) ? ((*fun_ptr[keycode])()) : 0; if (keycode == 53) { - ft_memdel(((t_win*)param)->wlx); ft_memdel(((t_win*)param)->winptr); + ft_memdel(((t_win*)param)->wlx); ft_memdel((t_win*)param); ft_exit(0); } -- cgit v1.2.3