no git_buf_dispose in libgit2 0.27

This commit is contained in:
woblight
2019-08-11 18:36:58 +02:00
parent 2b6a05b792
commit 3a24ae3deb
-1
View File
@@ -138,7 +138,6 @@ void Addon::scanBranches()
data.cr = buf.ptr; data.cr = buf.ptr;
data.cb = rex.cap(1); data.cb = rex.cap(1);
} }
git_buf_dispose(&buf);
git_reference_free(ref); git_reference_free(ref);
break; break;
} }