python: Fix memory leak with ParseTuple (using 'es' format)