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