Currently, we call zfree(cmd->args), but the argument array needs to be freed recursively (there might be sub-args). Also fixed memory leaks on cmd->tips and cmd->history. Fixes #11145 (cherry picked from commit fc3956e8)
Attach a file by drag & drop or click to upload