From ee24b209bbedd37fcacfd34dbf13d4840172c8f3 Mon Sep 17 00:00:00 2001 From: QC Date: Thu, 12 Feb 2015 22:42:29 +0100 Subject: [PATCH] Fixing i3 crash. --- source/i3-support.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/i3-support.c b/source/i3-support.c index 4e471f8a..598f8e4e 100644 --- a/source/i3-support.c +++ b/source/i3-support.c @@ -135,9 +135,8 @@ int i3_support_initialize ( Display *display ) void i3_support_free_internals ( void ) { - if ( i3_socket_path != NULL ) { - g_free ( i3_socket_path ); - } + g_free ( i3_socket_path ); + i3_socket_path = NULL; } #else