We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fe582c commit b2820aeCopy full SHA for b2820ae
1 file changed
Modules/_bsddb.c
@@ -1742,6 +1742,7 @@ DB_join(DBObject* self, PyObject* args)
1742
return NULL;
1743
}
1744
cursors[x] = ((DBCursorObject*)item)->dbc;
1745
+ Py_DECREF(item);
1746
1747
1748
MYDB_BEGIN_ALLOW_THREADS;
@@ -2017,7 +2018,7 @@ _db_compareCallback(DB* db,
2017
2018
{
2019
int res = 0;
2020
PyObject *args;
- PyObject *result;
2021
+ PyObject *result = NULL;
2022
DBObject *self = (DBObject *)db->app_private;
2023
2024
if (self == NULL || self->btCompareCallback == NULL) {
0 commit comments