get_content_by_content_name
diff --git a/nlsr.c b/nlsr.c
index c9d4cf7..1580dcc 100644
--- a/nlsr.c
+++ b/nlsr.c
@@ -1208,7 +1208,8 @@
 		ccns_slice_destroy(&nlsr->slice);
 	if ( nlsr->ccns != NULL )
 		ccns_close(&nlsr->ccns, NULL, NULL);
-	
+	if (nlsr->closure != NULL )
+		free(nlsr->closure);
 
 	close(nlsr->nlsr_api_server_sock_fd);