1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-16 08:13:30 +00:00

Fixed leak of a LinkedList by LifeTimeMonitor

Fixed leak of X509 structure by ControlChannelCertificate property of MeshAgent
This commit is contained in:
Bryan Roe
2022-08-08 13:52:45 -07:00
parent 10c6aa295c
commit 284a9ca4b7
2 changed files with 4 additions and 1 deletions

View File

@@ -7997,6 +7997,7 @@ void ILibLifeTime_Destroy(void *LifeTimeToken)
struct ILibLifeTime *UPnPLifeTime = (struct ILibLifeTime*)LifeTimeToken;
ILibLifeTime_Flush(LifeTimeToken);
ILibLinkedList_Destroy(UPnPLifeTime->ObjectList);
ILibLinkedList_Destroy(UPnPLifeTime->DeleteList);
UPnPLifeTime->ObjectCount = 0;
UPnPLifeTime->ObjectList = NULL;
}