Fixed a memory leak!

This commit is contained in:
Ramon Novoa 2014-10-09 16:31:50 +02:00
parent e91c832172
commit 76f8061ce4
1 changed files with 1 additions and 0 deletions

View File

@ -640,6 +640,7 @@ Pandora_Module_Logevent::getEventDescriptionXPATH (PEVENTLOGRECORD pevlr) {
description = strUnicodeToAnsi (pwsMessage);
// Cleanup
free(pwsMessage);
free(pRenderedValues);
EvtCloseF(hProviderMetadata);
EvtCloseF(hContext);