summaryrefslogtreecommitdiff
path: root/clone.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2016-10-03 02:53:29 -0700
committerGitHub <[email protected]>2016-10-03 02:53:29 -0700
commite9668545c972870637b79670bcb532401353c3d6 (patch)
treee9d5567307c548eb772e8d8ab1528fce7f55f7e3 /clone.go
parent22091886372e73de5d66168e8665775676ec13c5 (diff)
parent6ffad323ba4f723479d04182224297d90c0f9084 (diff)
Merge pull request #321 from netnose/checkout-callbacks
Checkout callbacks
Diffstat (limited to 'clone.go')
-rw-r--r--clone.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/clone.go b/clone.go
index e80d14d..1ff5124 100644
--- a/clone.go
+++ b/clone.go
@@ -41,7 +41,6 @@ func Clone(url string, path string, options *CloneOptions) (*Repository, error)
var ptr *C.git_repository
ret := C.git_clone(&ptr, curl, cpath, copts)
- freeCheckoutOpts(&copts.checkout_opts)
if ret < 0 {
return nil, MakeGitError(ret)