diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-07-04 14:38:37 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-07-05 00:42:56 +0200 |
commit | 7374d172f37f2f793ef506765518ea744b753c21 (patch) | |
tree | 52d4ccdfdf46e51a1b3cfd90768013e3bdb012a6 /src/main.c | |
parent | e33b8a01fc122a3dbc281629c1d3691d05f5d844 (diff) |
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 <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -329,7 +329,7 @@ int main(int argc, char * const *argv) exit(EXIT_FAILURE); } - xfree(buf); + free(buf); nft_ctx_free(nft); return rc; |