Fix memory leak in cp_r

This commit is contained in:
Russell Belfer 2012-08-24 14:24:33 -07:00
parent 1168410426
commit 07c06f7a83

View File

@ -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;
}