mirror of
https://github.com/open62541/open62541.git
synced 2025-06-03 04:00:21 +00:00
fix(examples): Remove memleaks in tutorial_server_historicaldata.c
This commit is contained in:
parent
3a64fa715d
commit
f7406f201f
@ -128,5 +128,8 @@ int main(void) {
|
||||
*/
|
||||
|
||||
UA_Server_delete(server);
|
||||
UA_NodeId_clear(&outNodeId);
|
||||
setting.historizingBackend.deleteMembers(&setting.historizingBackend);
|
||||
|
||||
return retval == UA_STATUSCODE_GOOD ? EXIT_SUCCESS : EXIT_FAILURE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user