Skip to content

Commit

Permalink
Merge pull request libgit2#280 from ebfe/hint-path
Browse files Browse the repository at this point in the history
Don't drop CreateBlobFromChunks hintPath argument
  • Loading branch information
carlosmn committed Jan 15, 2016
2 parents 4ee13db + 51d3ead commit 2e17c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
Expand Down

0 comments on commit 2e17c3d

Please sign in to comment.