mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 11:10:58 +08:00
Missed a Py_INCREF()! Does not seem to affect Python 1.5.2.
Does affect Python 2.1b1.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user