summaryrefslogtreecommitdiff
path: root/src/nfct-extensions
diff options
context:
space:
mode:
Diffstat (limited to 'src/nfct-extensions')
-rw-r--r--src/nfct-extensions/helper.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nfct-extensions/helper.c b/src/nfct-extensions/helper.c
index 7544ed7..bfb153f 100644
--- a/src/nfct-extensions/helper.c
+++ b/src/nfct-extensions/helper.c
@@ -144,8 +144,6 @@ static int nfct_cmd_helper_list(struct mnl_socket *nl, int argc, char *argv[])
return -1;
}
- mnl_socket_close(nl);
-
return 0;
}
@@ -397,8 +395,6 @@ nfct_cmd_helper_flush(struct mnl_socket *nl, int argc, char *argv[])
return -1;
}
- mnl_socket_close(nl);
-
return 0;
}