unix-socket: avoid duplicate errors

pull/8288/head
Victor Julien 3 years ago
parent 4dfb584164
commit 7d46d4217f

@ -419,7 +419,6 @@ static int UnixCommandAccept(UnixCommand *this)
uclient = UnixClientAlloc();
if (unlikely(uclient == NULL)) {
SCLogError(SC_ERR_MEM_ALLOC, "Can't allocate new client");
json_decref(server_msg);
close(client);
return 0;

Loading…
Cancel
Save