diff options
author | Nils Durner <durner@gnunet.org> | 2009-11-09 18:45:18 +0000 |
---|---|---|
committer | Nils Durner <durner@gnunet.org> | 2009-11-09 18:45:18 +0000 |
commit | 42788c9183bb61c5a5435b4a9e28ff21663494a3 (patch) | |
tree | bb268e9e7f86102a725b1e8f15a3fdf9f02b0d82 /src/include/gnunet_container_lib.h | |
parent | 8518be376f51fc3e682597a97157914d4745d5bc (diff) | |
download | gnunet-42788c9183bb61c5a5435b4a9e28ff21663494a3.tar.gz gnunet-42788c9183bb61c5a5435b4a9e28ff21663494a3.zip |
fix leak, improve API
Diffstat (limited to 'src/include/gnunet_container_lib.h')
-rw-r--r-- | src/include/gnunet_container_lib.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/gnunet_container_lib.h b/src/include/gnunet_container_lib.h index edda98e07..4debd2ccf 100644 --- a/src/include/gnunet_container_lib.h +++ b/src/include/gnunet_container_lib.h | |||
@@ -1010,6 +1010,13 @@ GNUNET_CONTAINER_slist_get (const struct GNUNET_CONTAINER_SList_Iterator *i, | |||
1010 | size_t *len); | 1010 | size_t *len); |
1011 | 1011 | ||
1012 | 1012 | ||
1013 | /** | ||
1014 | * Release an iterator | ||
1015 | * @param i iterator | ||
1016 | */ | ||
1017 | void GNUNET_CONTAINER_slist_iter_destroy (struct GNUNET_CONTAINER_SList_Iterator *i); | ||
1018 | |||
1019 | |||
1013 | #if 0 /* keep Emacsens' auto-indent happy */ | 1020 | #if 0 /* keep Emacsens' auto-indent happy */ |
1014 | { | 1021 | { |
1015 | #endif | 1022 | #endif |