clone: Fix a memory leak

This commit is contained in:
nulltoken 2013-01-06 15:09:27 +01:00
parent 09556895b7
commit d1aee4775a

View File

@ -333,6 +333,7 @@ static int setup_remotes_and_fetch(
}
git_remote_disconnect(origin);
}
git_remote_free(origin);
}
return retcode;