Fixed a memory leak!
This commit is contained in:
parent
e91c832172
commit
76f8061ce4
|
@ -640,6 +640,7 @@ Pandora_Module_Logevent::getEventDescriptionXPATH (PEVENTLOGRECORD pevlr) {
|
|||
description = strUnicodeToAnsi (pwsMessage);
|
||||
|
||||
// Cleanup
|
||||
free(pwsMessage);
|
||||
free(pRenderedValues);
|
||||
EvtCloseF(hProviderMetadata);
|
||||
EvtCloseF(hContext);
|
||||
|
|
Loading…
Reference in New Issue