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

This commit is contained in:
Jerzy Jamroz authored and Andrew Johnson committed 2025-06-20 15:42:47 -05:00
1 parent 132cc8b90a
commit a89b12f9ef
1 file changed
-1
-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);
}
}