@Override @SuppressWarnings("deprecation")
protected void finalize() throws Throwable {
super.finalize();
- bindings.CommitmentSigned_free(ptr);
+ if (ptr != 0) { bindings.CommitmentSigned_free(ptr); }
}
public static CommitmentSigned constructor_clone(CommitmentSigned orig) {