Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/runtime/constructorbinding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ public static IntPtr tp_repr(IntPtr ob)
public static new void tp_dealloc(IntPtr ob)
{
BoundContructor self = (BoundContructor)GetManagedObject(ob);
Runtime.Decref(self.repr);
if (self.repr != IntPtr.Zero)
Runtime.Decref(self.repr);
Runtime.Decref(self.pyTypeHndl);
ExtensionType.FinalizeObject(self);
}
Expand Down