This commit is contained in:
Matt Diephouse 2015-02-14 11:37:28 -05:00
parent b1d2927808
commit f0f8e30d03

View File

@ -194,6 +194,7 @@ final public class Repository {
let name = String.fromCString(strarray.strings[Int($0)])!
return self.remoteWithName(name)
}
git_strarray_free(pointer)
pointer.dealloc(1)
let error = remotes.reduce(nil) { $0 == nil ? $0 : $1.error() }