mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 19:31:54 +08:00
Fix leak on converter dictionary. (Ted Wright)
This commit is contained in:
@ -247,7 +247,6 @@ _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