- IedConnection: calling ControlObjectClient_destroy in IedConnection_destroy to prevent memory leak when user forgets to call

pull/515/head
Michael Zillgith 2 years ago
parent 1182cd1771
commit 0fee01e1b6

@ -949,7 +949,7 @@ IedConnection_destroy(IedConnection self)
GLOBAL_FREEMEM(self->outstandingCalls);
LinkedList_destroyStatic(self->clientControls);
LinkedList_destroyDeep(self->clientControls, (LinkedListValueDeleteFunction)ControlObjectClient_destroy);
Semaphore_destroy(self->clientControlsLock);
Semaphore_destroy(self->outstandingCallsLock);

Loading…
Cancel
Save