projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Provide human versions of trait interfaces, with a bunch of fixes to make it work
[ldk-java]
/
src
/
main
/
java
/
org
/
ldk
/
structs
/
ClosingSigned.java
diff --git
a/src/main/java/org/ldk/structs/ClosingSigned.java
b/src/main/java/org/ldk/structs/ClosingSigned.java
index a8a0063ea4c9654dd01ac124d68a8f07283323ab..fe05ebef55ffd58e4ad28ee05cde39958adf1b31 100644
(file)
--- a/
src/main/java/org/ldk/structs/ClosingSigned.java
+++ b/
src/main/java/org/ldk/structs/ClosingSigned.java
@@
-11,7
+11,7
@@
public class ClosingSigned extends CommonBase {
@Override @SuppressWarnings("deprecation")
protected void finalize() throws Throwable {
super.finalize();
@Override @SuppressWarnings("deprecation")
protected void finalize() throws Throwable {
super.finalize();
- bindings.ClosingSigned_free(ptr);
+ if (ptr != 0) { bindings.ClosingSigned_free(ptr); }
}
public static ClosingSigned constructor_clone(ClosingSigned orig) {
}
public static ClosingSigned constructor_clone(ClosingSigned orig) {