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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user