File: _portaudiomodule.c
Function: pa_initialize
Error: ob_refcnt of new ref from call to Py_BuildValue is 1 too high
1184 static PyObject *
1185 pa_initialize(PyObject *self, PyObject *args)
1186 {
1187   int err;
1188   err = Pa_Initialize();
1189   if (err != paNoError) {
when considering range: -0x80000000 <= value <= -1
taking True path
1190     Pa_Terminate();
1191 #ifdef VERBOSE
1192     fprintf(stderr, "An error occured while using the portaudio stream\n");
1193     fprintf(stderr, "Error number: %d\n", err);
1194     fprintf(stderr, "Error message: %s\n", Pa_GetErrorText(err));
1195 #endif
1196     PyErr_SetObject(PyExc_IOError,
when Py_BuildValue() succeeds
calling PyErr_SetObject()
new ref from call to Py_BuildValue allocated at:     PyErr_SetObject(PyExc_IOError,
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
1197 		    Py_BuildValue("(s,i)",
1198 				  Pa_GetErrorText(err), err));
1199     return NULL;
1200   }
1201 
1202   Py_INCREF(Py_None);
1203   return Py_None;
1204 }
ob_refcnt of new ref from call to Py_BuildValue is 1 too high
was expecting final ob_refcnt to be N + 0 (for some unknown N)
but final ob_refcnt is N + 1
found 1 similar trace(s) to this