diff options
author | QC <qball@gmpclient.org> | 2015-02-12 22:42:29 +0100 |
---|---|---|
committer | QC <qball@gmpclient.org> | 2015-02-12 22:42:29 +0100 |
commit | ee24b209bbedd37fcacfd34dbf13d4840172c8f3 (patch) | |
tree | 6678eb7558da8af535f36e190e253067ca18d88b | |
parent | 4e558892238b2b23a7dcfe367f83e1de4f378c91 (diff) |
Fixing i3 crash.
-rw-r--r-- | source/i3-support.c | 5 |
1 files 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 |