Browse files

Merge pull request #17 from rgrzywinski/master

Proposed fix for Issue # 16
  • Loading branch information...
2 parents d38e549 + c82028c commit 26d46f6bc77c5f30a305d5e4da493eb0bad61032 @chirino chirino committed Feb 6, 2013
View
2 leveldbjni/src/main/java/org/fusesource/leveldbjni/internal/NativeBuffer.java
@@ -112,8 +112,8 @@ void release() {
throw new Error("The object has already been deleted.");
} else if( r==0 ) {
NativeBufferJNI.free(self);
+ self = 0;
}
- self = 0;
}
}

0 comments on commit 26d46f6

Please sign in to comment.