diff options
Diffstat (limited to 'bftw.c')
-rw-r--r-- | bftw.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -545,6 +545,7 @@ static struct bftw_dir *bftw_queue_pop(struct bftw_queue *queue) { /** Destroy a bftw_queue. */ static void bftw_queue_destroy(struct bftw_queue *queue) { + assert(queue->size == 0); free(queue->buffer); } |