tUse free_snap() instead of free() - dedup - deduplicating backup program
(HTM) git clone git://git.z3bra.org/dedup.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6c3de1be215d063566c45bb412301088abf18add
(DIR) parent f7ee3e913fb4a27319ddb1bef266e79933f40c70
(HTM) 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
t@@ -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;
}