diff --git a/src/main/client/exists_many.c b/src/main/client/exists_many.c index f9ec611fd..ce4f9f5e4 100644 --- a/src/main/client/exists_many.c +++ b/src/main/client/exists_many.c @@ -66,7 +66,6 @@ bool batch_exists_cb(const as_batch_read* results, uint32_t n, void* udata) if ( PyDict_SetItem( py_recs, p_key, rec ) ){ return false; } - Py_DECREF(rec); } else if (results[i].result == AEROSPIKE_ERR_RECORD_NOT_FOUND){ Py_INCREF(Py_None);