diff options
Diffstat (limited to 'src/datacache/plugin_datacache_heap.c')
-rw-r--r-- | src/datacache/plugin_datacache_heap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datacache/plugin_datacache_heap.c b/src/datacache/plugin_datacache_heap.c index dbc9cac9c..074437e7d 100644 --- a/src/datacache/plugin_datacache_heap.c +++ b/src/datacache/plugin_datacache_heap.c | |||
@@ -395,7 +395,7 @@ heap_plugin_del (void *cls) | |||
395 | plugin->env->delete_notify (plugin->env->cls, | 395 | plugin->env->delete_notify (plugin->env->cls, |
396 | &val->key, | 396 | &val->key, |
397 | val->size + OVERHEAD); | 397 | val->size + OVERHEAD); |
398 | GNUNET_free_non_null (val->path_info); | 398 | GNUNET_free (val->path_info); |
399 | GNUNET_free (val); | 399 | GNUNET_free (val); |
400 | return GNUNET_OK; | 400 | return GNUNET_OK; |
401 | } | 401 | } |
@@ -577,7 +577,7 @@ libgnunet_plugin_datacache_heap_done (void *cls) | |||
577 | GNUNET_CONTAINER_multihashmap_remove (plugin->map, | 577 | GNUNET_CONTAINER_multihashmap_remove (plugin->map, |
578 | &val->key, | 578 | &val->key, |
579 | val)); | 579 | val)); |
580 | GNUNET_free_non_null (val->path_info); | 580 | GNUNET_free (val->path_info); |
581 | GNUNET_free (val); | 581 | GNUNET_free (val); |
582 | } | 582 | } |
583 | GNUNET_CONTAINER_heap_destroy (plugin->heaps[i]); | 583 | GNUNET_CONTAINER_heap_destroy (plugin->heaps[i]); |