Skip to content

Commit a6f2848

Browse files
author
A. Jesse Jiryu Davis
committed
Fix ref undercount in BSON extension. PYTHON-494
1 parent a449ea8 commit a6f2848

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

bson/_cbsonmodule.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,6 @@ static PyObject* get_value(PyObject* self, const char* buffer, int* position,
18561856
evalue = msg;
18571857
}
18581858
PyErr_NormalizeException(&etype, &evalue, &etrace);
1859-
Py_XDECREF(msg);
18601859
}
18611860
}
18621861
/* Steals references to args. */

0 commit comments

Comments
 (0)