Unverified Commit 5b0258ad by Edward Thomson Committed by GitHub

Merge pull request #4768 from abyss7/master

Fix leak in index.c
parents cada553c 581d5492
......@@ -1802,7 +1802,8 @@ int git_index_conflict_add(git_index *index,
if (entries[i] && !valid_filemode(entries[i]->mode)) {
giterr_set(GITERR_INDEX, "invalid filemode for stage %d entry",
i + 1);
return -1;
ret = -1;
goto on_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