python: Fix memory leak checks xmlInitParser doesn't allocate memory anymore, so the checks can be simplified.