From 7374d172f37f2f793ef506765518ea744b753c21 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 4 Jul 2019 14:38:37 +0200 Subject: src: use malloc() and free() from cli and main xmalloc() and xfree() are internal symbols of the library, do not use them. Fixes: 16543a0136c0 ("libnftables: export public symbols only") Reported-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 8e6c897c..69461122 100644 --- a/src/main.c +++ b/src/main.c @@ -329,7 +329,7 @@ int main(int argc, char * const *argv) exit(EXIT_FAILURE); } - xfree(buf); + free(buf); nft_ctx_free(nft); return rc; -- cgit v1.2.3