diff: Fix for memory leak in git_patch
This commit is contained in:
@@ -127,6 +127,7 @@ wrap_patch(git_patch *patch)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
git_patch_free(patch);
|
||||||
|
|
||||||
return (PyObject*) py_patch;
|
return (PyObject*) py_patch;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user