mirror of https://github.com/OISF/suricata
af/xdp: fix memory leaks on thread init failure
source-af-xdp.c:675:21: warning: Potential leak of memory pointed to by 'ptv' [unix.Malloc]
SCReturnInt(TM_ECODE_FAILED);
^~~~~~~~~~~~~~~
./util-debug.h:275:48: note: expanded from macro 'SCReturnInt'
#define SCReturnInt(x) return x
^
1 warning generated.
pull/8762/head
parent
ea67a2edd2
commit
fc000a6d81
Loading…
Reference in New Issue