space leak in _collect_cats

This commit is contained in:
Krasimir Angelov
2025-09-09 19:48:38 +02:00
parent cc0a56cc48
commit 570d223302
+1 -1
View File
@@ -859,8 +859,8 @@ _collect_cats(PgfItor *fn, PgfText *key, object value, PgfExn *err)
if (PyList_Append((PyObject*) clo->collection, py_name) != 0) {
err->type = PGF_EXN_OTHER_ERROR;
Py_DECREF(py_name);
}
Py_DECREF(py_name);
}
static PyObject *