Otherwise it gets leaked which would allow even not authenticated clients to exhaust server memory.tags/v1.7.90
@@ -55,6 +55,8 @@ SSecurityVeNCrypt::SSecurityVeNCrypt(SecurityServer *sec) : security(sec) | |||
SSecurityVeNCrypt::~SSecurityVeNCrypt() | |||
{ | |||
delete ssecurity; | |||
if (subTypes) { | |||
delete [] subTypes; | |||
subTypes = NULL; |