Fix memory leak in cp_r
diff --git a/src/fileops.c b/src/fileops.c
index eecfc28..76ef8c9 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;
}