Release data area that is allocated by xt_buf_alloc().
Signed-off-by: Pablo Neira Ayuso <[email protected]>
---
libxtables/xtables.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libxtables/xtables.c b/libxtables/xtables.c
index fa979f2..21e515d 100644
--- a/libxtables/xtables.c
+++ b/libxtables/xtables.c
@@ -2015,6 +2015,7 @@ struct xt_buf *xt_buf_alloc(int size)
void xt_buf_free(struct xt_buf *buf)
{
+ free(buf->data);
free(buf);
}
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html