fix: free(item->cmd) not necessary due to the single allocation.

This commit is contained in:
Jerzy Jamroz
2025-02-04 12:50:24 +01:00
committed by Andrew Johnson
parent 132cc8b90a
commit a89b12f9ef
-1
View File
@@ -46,7 +46,6 @@ static void atInitHook(initHookState state)
if(iocshCmd(item->cmd))
epicsStdoutPrintf(__AT_INIT_LOG(ERL_ERROR) "command '%s' failed to run\n", item->cmd);
free(item->cmd);
free(item);
}
}