Errors seen in LOGS/python-lirc-0.0.5-13.fc17

This is a summary of errors seen when compiling with an experimental static analysis tool

Raw build logs can be seen here

Reference leaks

Code paths in which the reference count of an object is left too high, leading to memory leaks

pylircmodule.c pylirc_nextcode ob_refcnt of new ref from call to Py_BuildValue is 1 too high

Returning (PyObject*)NULL without setting an exception

These messages are often false-positives: the analysis tool has no knowledge about internal API calls that can lead to an exception being set
pylircmodule.c pylirc_init returning (PyObject*)NULL without setting an exception