Free the malloc'ed buffer that holds the command once we're done with it.
Instead of calling Py_Exit(sts), call Py_Cleanup() and return sts.
Showing
Please
register
or
sign in
to comment
Instead of calling Py_Exit(sts), call Py_Cleanup() and return sts.