]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: fix small memory leaks 1305/head
authorVictor Julien <victor@inliniac.net>
Wed, 21 Jan 2015 10:43:58 +0000 (11:43 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 27 Jan 2015 08:16:43 +0000 (09:16 +0100)
commit5b6f8bda1d86df611ddba3b9180963a1a12e513d
tree7066b7100f09bff3a4fbe5a90eb1ec49a6c3a8f5
parent5a8094136ce667b66bea7484f306d6423fea96b8
detect: fix small memory leaks

Fix small memory leaks in option parsing. Move away from
pcre_get_substring in favor of pcre_copy_substring.

Related to #1046.
src/detect-dce-iface.c
src/detect-engine-event.c
src/detect-fast-pattern.c
src/detect-id.c
src/detect-priority.c
src/detect-window.c