Changes will solve #116, a memory leakage of ais20_to_pydict. In particular, it has been included a explicit decrement to the reference count for object list. Furthermore, in order to prevent additional leakages from PyUnicode_FromString the reservations string has been created and freed out of the PyDict_SetItem call.
Changes will solve #116, a memory leakage of ais20_to_pydict. In particular, it has been included a explicit decrement to the reference count for object list. Furthermore, in order to prevent additional leakages from PyUnicode_FromString the reservations string has been created and freed out of the PyDict_SetItem call.