Check-in [7ce3fcaf57]
Overview
Comment:Updated to never delete compiler memory, since it currently cannot operate again once that happens
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:7ce3fcaf576eaa01c920479a659ee1f3e24b0f4c
User & Date: rkeene on 2014-06-23 19:43:24
Other Links: manifest | tags
Context
2014-06-23
19:46
Updated to include more detailed CURL test check-in: aa5e861dc0 user: rkeene tags: trunk
19:43
Updated to never delete compiler memory, since it currently cannot operate again once that happens check-in: 7ce3fcaf57 user: rkeene tags: trunk
19:42
Removed old reference to "tcc_handle" check-in: bc257f54f8 user: rkeene tags: trunk
Changes

Modified tcc4tcl.c from [93d31f9b0f] to [a2a733650e].

    35     35   static void Tcc4tclCCommandDeleteProc (ClientData cdata) {
    36     36   	struct TclTCCState *ts;
    37     37   	TCCState *s ;
    38     38   
    39     39   	ts = (struct TclTCCState *) cdata;
    40     40   	s = ts->s;
    41     41   
    42         -	/* We can delete the compiler if the output was not to memory */
    43         -	if (s->output_type != TCC_OUTPUT_MEMORY) {
    44         -		tcc_delete(s);
    45         -		ts->s = NULL;
    46         -	}
           42  +	ts->s = NULL;
    47     43   
    48     44   	ckfree((void *) ts);
    49     45   }
    50     46   
    51     47   static int Tcc4tclHandleCmd ( ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj * CONST objv[]){
    52     48   	Tcl_WideInt val;
    53     49   	Tcl_Obj *val_o;