Skip to content

Commit

Permalink
fix(src/registry): fix reference to py::function
Browse files Browse the repository at this point in the history
  • Loading branch information
XuehaiPan committed Nov 21, 2022
1 parent 30173c3 commit 7113e3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/registry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ template <bool NoneIsLeaf>
}
}
}
to_iterable.inc_ref();
from_iterable.inc_ref();
}

template <bool NoneIsLeaf>
Expand Down

0 comments on commit 7113e3f

Please sign in to comment.