--- Revision 5594 +++ Revision 5620 @@ -1725,7 +1725,7 @@ struct cw_dynstr *ds = NULL; cw_cli_command(&ds, (char *)cli_command); - cw_dynstr_free(ds); + cw_dynstr_free(&ds); free(cli_command); return NULL;