nextBTreeItems() and nextTreeSetItems(): unlike the other set iteration
"next" functions, these can return a PER_USE() error *after* decrefing the keys and values left over from the last call. But they don't mark the iteration as terminated, so finiSetIteration() will also try to decref the leftovers. The fix is to mark the iteration as terminated when these functions fail.
Showing
Please register or sign in to comment