Merge pull request #280 from ebfe/hint-path

Don't drop CreateBlobFromChunks hintPath argument
This commit is contained in:
Carlos Martín Nieto 2016-01-15 22:22:36 +01:00
commit 2e17c3d55f
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{}