Skip to content

Commit 2360005

Browse files
committed
Revert "Remove DECREF"
This reverts commit 9c768f5.
1 parent 9c768f5 commit 2360005

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bson/_cbsonmodule.c

+1
Original file line numberDiff line numberDiff line change
@@ -3222,6 +3222,7 @@ _cbson_exec(PyObject *m)
32223222

32233223
/* Import several python objects */
32243224
if (_load_python_objects(m)) {
3225+
Py_DECREF(c_api_object);
32253226
Py_DECREF(m);
32263227
INITERROR;
32273228
}

0 commit comments

Comments
 (0)