Fix Fetch/Push memory allocation problems #271

Merged
joseferminj merged 1 commits from fix-memory-problems into master 2015-11-13 11:33:02 -06:00

1 Commits

Author SHA1 Message Date
Jose Alvarez 92d736d12c Fix Fetch/Push memory allocation problems
The Fetch/Push operations didn't allocate the git_*_options structure
and this causes a memory problem in the libgit2 code. Following the
example of Clone operation, the Fetch/Push functions allocates the
options structure before calling the C.
2015-11-12 21:15:24 -05:00