mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 11:19:47 +00:00
Fix memory leak in cp_r
This commit is contained in:
parent
1168410426
commit
07c06f7a83
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user