Missing free() on the timeout state string on object release. Fixes: 7a0e26723496 ("rule: memleak of list of timeout policies" Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> --- src/rule.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rule.c b/src/rule.c index 10569aa7875a..877eae3cd85d 100644 --- a/src/rule.c +++ b/src/rule.c @@ -1714,6 +1714,7 @@ void obj_free(struct obj *obj) list_for_each_entry_safe(ts, next, &obj->ct_timeout.timeout_list, head) { list_del(&ts->head); + xfree(ts->timeout_str); xfree(ts); } } -- 2.20.1