Errors seen in LOGS/python-shout-0.2.1-7.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

shout.c pshoutobj_initattrs ob_refcnt of new ref from call to Py_BuildValue is 1 too high
shout.c pshoutobj_setattr ob_refcnt of PyDictObject is 1 too high
shout.c pshoutobj_new ob_refcnt of '*me' 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
shout.c pshoutobj_set_metadata returning (PyObject*)NULL without setting an exception