Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-11-01
01:41 • Closed ticket [1343457fff]: no ckfree on return from Tcl_SplitList in SerialSetO... artifact: 07e70c0b9c user: hobbs
2005-10-31
17:30 • Ticket [1343457fff]: 5 changes artifact: 010469cd2c user: dkf
08:59 • New ticket [1343457fff]. artifact: 2759f8542a user: nobody

no ckfree on return from Tcl_SplitList in SerialSetOptionPro

Closed / Out of Date1343457fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-10-31 08:59:23
In the function SerialSetOptionProc in win/tclWinSerial.c
there are some calls to Tcl_SplitList(..., argv) but no
corresponding ckfree(argv) to free up the allocated
memory.

This is in 8.5a3 and 8.4.11
dkfplain2005-10-31 17:30:40
Logged In: YES 
user_id=79902

argv lifetime management in tclWinSerial.c is already
correct in the HEAD.
hobbsplain2005-11-01 01:41:05
Logged In: YES 
user_id=72656

already fixed in both branches.
Log in (anonymous is fine) to add a comment.