Skip to content

Commit 019da95

Browse files
authored
Fix memory management in mmap_ipc.cpp (#725)
Remove unnecessary Py_DECREF call for marker.
1 parent f891ede commit 019da95

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • geaflow/geaflow-infer/src/main/resources/infer/inferRuntime

geaflow/geaflow-infer/src/main/resources/infer/inferRuntime/mmap_ipc.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6586,7 +6586,6 @@ __Pyx_CyFunction_get_is_coroutine(__pyx_CyFunctionObject *op, void *context) {
65866586
PyList_SET_ITEM(fromlist, 0, marker);
65876587
#else
65886588
if (unlikely(PyList_SetItem(fromlist, 0, marker) < 0)) {
6589-
Py_DECREF(marker);
65906589
Py_DECREF(fromlist);
65916590
return NULL;
65926591
}

0 commit comments

Comments
 (0)