1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-10-28 14:24:38 +03:00
Files
libxml2/python/libxml.c
Daniel Garcia Moreno 046931e64e python: Do not decref string after adding to the list
The python API PyList_SetItem function "steals" a reference to item, so
we don't need to call Py_DECREF here.

https://docs.python.org/3.13/c-api/list.html#c.PyList_SetItem

Fix https://gitlab.gnome.org/GNOME/libxml2/-/issues/1076
2026-03-16 06:45:13 +00:00

100 KiB