FREE() already nulls the pointer
This commit is contained in:
parent
6d8784af98
commit
39ee97fd82
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user