mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Free path after generating diff list
This commit is contained in:
@@ -147,6 +147,7 @@ public:
|
||||
|
||||
git_diff_list *diffs;
|
||||
int diffStatus = git_diff_workdir_to_tree(repo, &options, tree, &diffs);
|
||||
free(copiedPath);
|
||||
if (diffStatus != GIT_OK) {
|
||||
return CefV8Value::CreateNull();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user