void Ns_DStringFree( Ns_DString *dsPtr );
The Ns_DStringFree function frees any memory associated with an Ns_DString.
Ns_DString ds; Ns_DStringInit(&ds); Ns_DStringAppend(&ds, "foo"); /* do something with the dstring */ printf ("%s\n", ds.string); Ns_DStringFree(&ds); /* finished with dstring */