aboutsummaryrefslogtreecommitdiff
path: root/src/util/container_multihashmap.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2013-08-12 15:16:15 +0000
committerFlorian Dold <florian.dold@gmail.com>2013-08-12 15:16:15 +0000
commita345e89e5993856aa6780e24c0e580c10b50c4a1 (patch)
treeb5b0c82a01a314acf5a8d7ca87f12d92e0e22bb6 /src/util/container_multihashmap.c
parent2bf579cafde4574b5f13f606926318e073fefc42 (diff)
downloadgnunet-a345e89e5993856aa6780e24c0e580c10b50c4a1.tar.gz
gnunet-a345e89e5993856aa6780e24c0e580c10b50c4a1.zip
- test memory leak
Diffstat (limited to 'src/util/container_multihashmap.c')
-rw-r--r--src/util/container_multihashmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/container_multihashmap.c b/src/util/container_multihashmap.c
index 1cd699dff..9ef8f74a4 100644
--- a/src/util/container_multihashmap.c
+++ b/src/util/container_multihashmap.c
@@ -840,7 +840,7 @@ int
840GNUNET_CONTAINER_multihashmap_iterator_next (struct GNUNET_CONTAINER_MultiHashMapIterator *iter, 840GNUNET_CONTAINER_multihashmap_iterator_next (struct GNUNET_CONTAINER_MultiHashMapIterator *iter,
841 struct GNUNET_HashCode *key, const void **value) 841 struct GNUNET_HashCode *key, const void **value)
842{ 842{
843 /* make sure nobody modified the map */ 843 /* make sure the map has not been modified */
844 GNUNET_assert (iter->modification_counter == iter->map->modification_counter); 844 GNUNET_assert (iter->modification_counter == iter->map->modification_counter);
845 845
846 /* look for the next entry, skipping empty buckets */ 846 /* look for the next entry, skipping empty buckets */
@@ -883,7 +883,7 @@ GNUNET_CONTAINER_multihashmap_iterator_next (struct GNUNET_CONTAINER_MultiHashMa
883 * @param iter the iterator to destroy 883 * @param iter the iterator to destroy
884 */ 884 */
885void 885void
886GNUNET_CONTAINER_multihashmap_enumerator_destroy (struct GNUNET_CONTAINER_MultiHashMapIterator *iter) 886GNUNET_CONTAINER_multihashmap_iterator_destroy (struct GNUNET_CONTAINER_MultiHashMapIterator *iter)
887{ 887{
888 GNUNET_free (iter); 888 GNUNET_free (iter);
889} 889}