mirror of https://github.com/OISF/suricata
detect/content: don't leak replace memory
Replace keyword updates a prior content with a heap allocation of the
pattern the content should be replaced with. Make sure this is freed as
well.
Bug: #7997.
(cherry picked from commit ce9c7a024e)
pull/14039/head
parent
f9cddc004c
commit
c12680de1b
Loading…
Reference in New Issue