]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
unix-socket: avoid duplicate errors
authorVictor Julien <vjulien@oisf.net>
Mon, 24 Oct 2022 10:59:49 +0000 (12:59 +0200)
committerVictor Julien <vjulien@oisf.net>
Wed, 14 Dec 2022 19:04:39 +0000 (20:04 +0100)
src/unix-manager.c

index 09488a2bbfaec4761f408d965061aa8912e3e733..c10e77247312f7648ac77bf84a99a75b36215e46 100644 (file)
@@ -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;