rem: Tcl_DStringInit(&jobPtr->ds); Tcl_DStringAppend(&jobPtr->ds, Tcl_GetString(script), -1);
add: Tcl_DStringInit(&jobPtr->script); Tcl_DStringAppend(&jobPtr->script, Tcl_GetString(script), -1); Tcl_DStringInit(&jobPtr->results);
context: NewJob(CONST char* server, int type, Tcl_Obj *script){    Job *jobPtr = NULL;    jobPtr = ns_malloc(sizeof(Job));    jobPtr->nextPtr = NULL;    jobPtr->server = server;    jobPtr->state = JOB_SCHEDULED;          jobPtr->code = TCL_OK;    jobPtr->type = type;    jobPtr->req = JOB_NONE;    jobPtr->errorCode = jobPtr->errorInfo = NULL;    Tcl_DStringInit(&jobPtr->id);    Tcl_DStringInit(&jobPtr->ds);    Tcl_DStringAppend(&jobPtr->ds, Tcl_GetString(script), -1);    return jobPtr;}