commit 6c3de1be215d063566c45bb412301088abf18add parent f7ee3e913fb4a27319ddb1bef266e79933f40c70 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(-)
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; }