summaryrefslogtreecommitdiff
path: root/src/modules/sparkler/chunker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/sparkler/chunker.c')
-rw-r--r--src/modules/sparkler/chunker.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/sparkler/chunker.c b/src/modules/sparkler/chunker.c
index 96dd911..8d97c49 100644
--- a/src/modules/sparkler/chunker.c
+++ b/src/modules/sparkler/chunker.c
@@ -199,6 +199,9 @@ void chunker_free_chunker(chunker_t *chunker)
parameter.
assert(list_empty(&chunker->pinned_chunks));
*/
+ list_for_each_entry_safe(chunk, _chunk, &chunker->pinned_chunks, chunks) {
+ free(chunk);
+ }
list_for_each_entry_safe(chunk, _chunk, &chunker->free_chunks, chunks) {
free(chunk);
© All Rights Reserved