Permalink
Browse files

Merge pull request #69 from DrTall/patch-1

Make Destroy public
  • Loading branch information...
2 parents e8b3916 + e7e37e9 commit cac1c0974c24cbdf1e5fee705727009355bea266 @ploxiln ploxiln committed Feb 11, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 godablooms/dablooms.go
View
@@ -41,7 +41,7 @@ func NewScalingBloomFromFile(capacity C.uint, errorRate C.double, filename strin
// apparently this is an unsupported feature of cgo
// we should probably use runtime.SetFinalizer
// see: https://groups.google.com/forum/?fromgroups#!topic/golang-dev/5cD0EmU2voI
-func (sb *ScalingBloom) destroy() {
+func (sb *ScalingBloom) Destroy() {
C.free_scaling_bloom(sb.cfilter)
}

0 comments on commit cac1c09

Please sign in to comment.