Skip to content

Commit bc1784c

Browse files
committed
Fix dict key memory leak
1 parent 93859bc commit bc1784c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

accel.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1950,7 +1950,6 @@ static PyObject *read_row_from_packet(
19501950
case ACCEL_OUT_DICTS:
19511951
case ACCEL_OUT_ARROW:
19521952
PyDict_SetItem(py_result, py_state->py_names[i], py_item);
1953-
Py_INCREF(py_state->py_names[i]);
19541953
Py_DECREF(py_item);
19551954
break;
19561955
default:

0 commit comments

Comments
 (0)