--- Revision 5619 +++ Revision 5620 @@ -536,8 +536,7 @@ if (msgtype == MSG_FOLLOWS) { if (ds) { smart_page((nresp >= 0), ds, ds_lines); - cw_dynstr_free(ds); - ds = NULL; + cw_dynstr_free(&ds); ds_lines = 0; } }