path: root/src/cli.c
diff options
authorPhil Sutter <>2017-10-19 10:18:41 +0200
committerPablo Neira Ayuso <>2017-10-20 14:21:01 +0200
commitd4210b372ac78c8e85ecc6e2317b76daafba15c9 (patch)
treeabb6a9a89ca5d36c6d6b28621d7604504251d41a /src/cli.c
parent9504cfceca4e9ef8b16be748e92fdc20c10750db (diff)
main: Fix for wrong argument passed to cache_release in nft_ctx_free
nft_ctx_free() should not refer to the global 'nft' variable, this will break as soon as the function is moved away from main.c. In order to use the cache reference from passed argument, the latter must not be const. Signed-off-by: Phil Sutter <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'src/cli.c')
0 files changed, 0 insertions, 0 deletions