collectd/collectd — pull request #155 by tommie (2012-10-11 15:52:05+00:00)
Title: Remove use of "et" in PyArg_Parse*() to avoid leaking memory

Memory is allocated when calling PyArg_Parse*() with "et" strings. That has to be freed by PyMem_Free(). As we are not dealing with exotic encodings (the encoding argument is ignored in all cases anyway,) just switch to "s" which returns a pointer to Python-internal storage.

See http://docs.python.org/c-api/arg.html