python: Don't free must-not-free variables
py_str() function call PyString_AsString(). As written in documentation, the caller must not free the returned value, because it points to some internal structures.
Showing
想要评论请 注册 或 登录
py_str() function call PyString_AsString(). As written in documentation, the caller must not free the returned value, because it points to some internal structures.