From 39ee97fd821dd5eb37d2720181a38466d96d475d Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 21 Mar 2011 23:49:16 +0100 Subject: [PATCH] FREE() already nulls the pointer --- src/ipc.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.39.5