Missed a Py_INCREF()! Does not seem to affect Python 1.5.2.

Does affect Python 2.1b1.
This commit is contained in:
adustman
2001-03-17 01:52:05 +00:00
parent 64b201fe09
commit bfbc41aaa8

View File

@ -194,6 +194,7 @@ _mysql_connect(
return NULL;
if (conv) {
c->converter = conv;
Py_INCREF(conv);
} else {
if (!(c->converter = PyDict_New())) {
Py_DECREF(c);