fixed memory leak in coap_free_context() exhibited in example server

This commit is contained in:
Thomas Pötsch committed 2012-09-19 16:17:18 +02:00
1 parent f64a8390e7
commit 45b76ec304
1 file changed
+1 -1
+1 -1
View File
@@ -305,7 +305,7 @@ coap_free_context( coap_context_t *context ) {
#ifndef WITH_CONTIKI
HASH_ITER(hh, context->resources, res, rtmp) {
free(res);
coap_delete_resource(context, res->key);
}
/* coap_delete_list(context->subscriptions); */