Try to Cleanup Memory for Fix Memory Leaks ...

This commit is contained in:
2025-01-17 02:19:22 +03:30
parent 46c38f8f54
commit 3c2de65f40
23 changed files with 842 additions and 382 deletions
+5 -1
View File
@@ -106,7 +106,7 @@ input bool eaReportNewHours = false; // Report New Hours
//
// Define Local Variables ...
XC121SMCExpert eaExpert;
XC121SMCExpert *eaExpert;
//
// Event Handlers ...
@@ -132,6 +132,7 @@ int OnInit()
//
// Configure EA Expert Class ...
eaExpert = new XC121SMCExpert();
//
// Event Handlers ...
@@ -241,6 +242,9 @@ void OnDeinit(const int reason)
//
// Destroy Timer ...
eaExpert.HandleOnDeInit();
//
delete eaExpert;
}
//