From: Michael Stapelberg Date: Mon, 21 Mar 2011 22:49:16 +0000 (+0100) Subject: FREE() already nulls the pointer X-Git-Tag: tree-pr3~90 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=39ee97fd821dd5eb37d2720181a38466d96d475d;p=i3%2Fi3 FREE() already nulls the pointer --- diff --git a/src/ipc.c b/src/ipc.c index b76d2bb1..68d654da 100644 --- 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);