diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:32:34 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:32:34 +0200 |
commit | e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2 (patch) | |
tree | 61df772a93f7f21af7c715ddd4b9a3f1a50e0509 /src/datacache/plugin_datacache_heap.c | |
parent | 1437556645417e6302862845e7ebcbd4c9908357 (diff) | |
download | gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.tar.gz gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.zip |
GNUNET_free_non_null -> GNUNET_free
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]); |