fix: free(item->cmd) not necessary due to the single allocation.
This commit is contained in:
committed by
Andrew Johnson
parent
132cc8b90a
commit
a89b12f9ef
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user