aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_key_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_key_events.c')
-rw-r--r--src/ft_key_events.c2
1 files changed, 1 insertions, 1 deletions
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);
}