Use free_snap() instead of free() - dedup - deduplicating backup program HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 6c3de1be215d063566c45bb412301088abf18add DIR parent f7ee3e913fb4a27319ddb1bef266e79933f40c70 HTML Author: sin <sin@2f30.org> Date: Wed, 17 Apr 2019 16:13:59 +0100 Use free_snap() instead of free() Diffstat: M dedup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/dedup.c b/dedup.c @@ -429,7 +429,7 @@ walk_snap(int (*fn)(struct snap *, void *), void *arg) read_snap_descs(ifd, snap); ret = (*fn)(snap, arg); - free(snap); + free_snap(snap); if (ret == WALK_STOP) break; }