Fix memory leak

This commit is contained in:
Alfredo Cardigliano 2021-12-30 11:13:32 +01:00
parent b24338ca27
commit b811b2c884

View file

@ -42,5 +42,5 @@ PeriodicScript::PeriodicScript(const char* _path,
/* ******************************************* */
PeriodicScript::~PeriodicScript() {
//if(path) free(path);
if(path) free((char *) path);
}