• Binbin's avatar
    Fix memory leak in moduleFreeCommand (#11147) · fa60cd13
    Binbin authored
    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)
    fa60cd13
cmdintrospection.tcl 1.81 KB