Coverity leak
There is a coverity memory leak in state_machine.c
The system resource will not be reclaimed and reused, reducing the future availability of the resource.
In SOPC_StaMac_CreateMonitoredItem: Leak of memory or pointers to system resources (CWE-404)
Initial source:
void* nodeId = SOPC_Calloc(1, sizeof(char) * (strlen(lszNodeId[i]) + 1));
See coverity report for full trace & details. https://scan4.scan.coverity.com/reports.htm#v54542/p14554/fileInstanceId=116819222&defectInstanceId=14435894&mergedDefectId=378221&eventId=14435894-24
Edited by Jérémie Chabod