commit | e48d707edc26adfaa484dec6bd7e9587d21ac2fe | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Fri Mar 15 19:44:27 2013 -0500 |
committer | akmhoque <akmhoque@gmail.com> | Fri Mar 15 19:44:27 2013 -0500 |
tree | 52c0234c7d3ad87cddcf5275c23c57eb473098fb | |
parent | c90ca4d98d736ce22b86d569ce4d8cfb8d341d61 [diff] [blame] |
get_content_by_content_name
diff --git a/nlsr.c b/nlsr.c index a30c016..c9d4cf7 100644 --- a/nlsr.c +++ b/nlsr.c
@@ -1204,10 +1204,11 @@ destroy_npt(); destroy_routing_table(); - if ( nlsr->ccns != NULL ) - ccns_close(&nlsr->ccns, NULL, NULL); if ( nlsr->slice != NULL ) ccns_slice_destroy(&nlsr->slice); + if ( nlsr->ccns != NULL ) + ccns_close(&nlsr->ccns, NULL, NULL); + close(nlsr->nlsr_api_server_sock_fd);