File: src/_portaudiomodule.c
Function: pa_initialize
Error: memory leak: ob_refcnt of new ref from call to Py_BuildValue is 1 too high
1203 static PyObject *
1204 pa_initialize(PyObject *self, PyObject *args)
1205 {
1206   int err;
1207   err = Pa_Initialize();
1208   if (err != paNoError) {
when considering range: -0x80000000 <= value <= -1
taking True path
1209     Pa_Terminate();
1210 #ifdef VERBOSE
1211     fprintf(stderr, "An error occured while using the portaudio stream\n");
1212     fprintf(stderr, "Error number: %d\n", err);
1213     fprintf(stderr, "Error message: %s\n", Pa_GetErrorText(err));
1214 #endif
1215     PyErr_SetObject(PyExc_IOError,
when Py_BuildValue() succeeds
calling PyErr_SetObject()
new ref from call to Py_BuildValue was allocated at:     PyErr_SetObject(PyExc_IOError,
ob_refcnt is now refs: 1 owned
ob_refcnt is now refs: 1 owned, 1 borrowed
1216 		    Py_BuildValue("(s,i)",
1217 				  Pa_GetErrorText(err), err));
1218     return NULL;
memory leak: ob_refcnt of new ref from call to Py_BuildValue is 1 too high
was expecting final owned ob_refcnt of new ref from call to Py_BuildValue to be 0 since nothing references it but final ob_refcnt is refs: 1 owned, 1 borrowed
found 1 similar trace(s) to this
1219   }
1220 
1221   Py_INCREF(Py_None);
1222   return Py_None;
1223 }