mirror of https://github.com/OISF/suricata
mpm/hs: fix scan-build warning
util-mpm-hs.c:340:20: warning: Potential leak of memory pointed to by 'p' [unix.Malloc]
p->sids[0] = sid;
~~~~~~~~~~~^~~~~
1 warning generated.
Incorrect error handling could lead to a memory leak.
pull/8753/head
parent
59ca5cc655
commit
ec84ba1a3c
Loading…
Reference in New Issue