426 static xmlOutputBufferPtr
427 xmlOutputBufferCreatePythonFile(PyObject *file,
428 xmlCharEncodingHandlerPtr encoder) {
429 xmlOutputBufferPtr ret;
430
431 if (file == NULL) return(NULL);
taking False path
432
433 ret = xmlAllocOutputBuffer(encoder);
434 if (ret != NULL) {
when treating unknown struct xmlOutputBuffer * from ./libxml.c:433 as non-NULL
taking True path
435 ret->context = file;
'*file' is now referenced by 1 non-stack value(s): heap-region-446.context
436 /* Py_INCREF(file); */
437 ret->writecallback = xmlPythonFileWrite;
438 ret->closecallback = xmlPythonFileClose;
439 }
440
441 return(ret);
442 }
ob_refcnt of '*file' is 1 too low
was expecting final ob_refcnt to be N + 1 (for some unknown N)
due to object being referenced by: heap-region-446.context
but final ob_refcnt is N + 0