summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/socket.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c
index 3322ad1..9250c27 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -235,7 +235,6 @@ int mnl_socket_close(struct mnl_socket *nl)
{
int ret = close(nl->fd);
free(nl);
- nl = NULL;
return ret;
}