Commit 07c06f7a by Russell Belfer

Fix memory leak in cp_r

parent 11684104
...@@ -700,6 +700,7 @@ int git_futils_cp_r( ...@@ -700,6 +700,7 @@ int git_futils_cp_r(
error = _cp_r_callback(&info, &path); error = _cp_r_callback(&info, &path);
git_buf_free(&path); git_buf_free(&path);
git_buf_free(&info.to);
return error; return error;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment