Fixes coverity issue CID 179426
This commit is contained in:
@ -313,6 +313,9 @@ void PythonImpl::invoke_function(int ifunc, char *result)
|
||||
}
|
||||
} else if (itype == PTR) {
|
||||
pValue = PY_VOID_POINTER(lmp);
|
||||
} else {
|
||||
PyGILState_Release(gstate);
|
||||
error->all(FLERR,"Unsupported variable type");
|
||||
}
|
||||
PyTuple_SetItem(pArgs,i,pValue);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user