Added matching xfree calls in chain_free(), for the chain members 'type' and 'dev'. Signed-off-by: Piyush Pangtey <gokuvsvegita@xxxxxxxxx> --- src/rule.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rule.c b/src/rule.c index 0b78549..85987b9 100644 --- a/src/rule.c +++ b/src/rule.c @@ -510,6 +510,9 @@ void chain_free(struct chain *chain) rule_free(rule); handle_free(&chain->handle); scope_release(&chain->scope); + xfree(chain->type); + if (chain->dev != NULL) + xfree(chain->dev); xfree(chain); } -- 1.9.1 -- With regards, Piyush Pangtey <gokuvsvegita@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html