cext: fix potential memory leaks of list items appended with PyList_Append
Also reduce the duplication in the tricky code that uses PyList_Append by extracting it into a function `pylist_append_owned`.
parent
5f62d45e5289
Loading
Please register or sign in to comment