FREE() already nulls the pointer

This commit is contained in:
Michael Stapelberg 2011-03-21 23:49:16 +01:00
parent 6d8784af98
commit 39ee97fd82

View File

@ -629,7 +629,6 @@ int ipc_create_socket(const char *filename) {
int sockfd; int sockfd;
FREE(current_socketpath); FREE(current_socketpath);
current_socketpath = NULL;
char *resolved = resolve_tilde(filename); char *resolved = resolve_tilde(filename);
DLOG("Creating IPC-socket at %s\n", resolved); DLOG("Creating IPC-socket at %s\n", resolved);