connector
This commit is contained in:
parent
b14e2d0c94
commit
cd3df5dc99
@ -241,11 +241,10 @@ static PyObject *CACHE_delete(CACHE *self, PyObject *args) {
|
||||
Py_XDECREF(node);
|
||||
return instead;
|
||||
}
|
||||
|
||||
PyObject *return_value = Py_BuildValue("O", node->value);
|
||||
cache_remove_node(self, node);
|
||||
PyDict_DelItem(self->dict, node->key);
|
||||
Py_XDECREF(node);
|
||||
PyObject *return_value = Py_BuildValue("O", node->value);
|
||||
return return_value;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user