summaryrefslogtreecommitdiff
path: root/src/fileops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileops.c')
-rw-r--r--src/fileops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileops.c b/src/fileops.c
index eecfc2847..76ef8c910 100644
--- a/src/fileops.c
+++ b/src/fileops.c
@@ -700,6 +700,7 @@ int git_futils_cp_r(
error = _cp_r_callback(&info, &path);
git_buf_free(&path);
+ git_buf_free(&info.to);
return error;
}