]> git.sur5r.net Git - i3/i3/commitdiff
FREE() already nulls the pointer
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 21 Mar 2011 22:49:16 +0000 (23:49 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 21 Mar 2011 22:49:16 +0000 (23:49 +0100)
src/ipc.c

index b76d2bb186c31aa6ae88ad6835da47897b1ff17c..68d654daa055db17fe61104a2ba8ecae376c2c83 100644 (file)
--- a/src/ipc.c
+++ b/src/ipc.c
@@ -629,7 +629,6 @@ int ipc_create_socket(const char *filename) {
     int sockfd;
 
     FREE(current_socketpath);
-    current_socketpath = NULL;
 
     char *resolved = resolve_tilde(filename);
     DLOG("Creating IPC-socket at %s\n", resolved);