Don't drop CreateBlobFromChunks hintPath argument

This commit is contained in:
Michael Gehring 2016-01-04 15:02:21 +01:00
parent 4ee13db86d
commit 51d3ead30d
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ func (repo *Repository) CreateBlobFromChunks(hintPath string, callback BlobChunk
var chintPath *C.char = nil
if len(hintPath) > 0 {
C.CString(hintPath)
chintPath = C.CString(hintPath)
defer C.free(unsafe.Pointer(chintPath))
}
oid := C.git_oid{}