Overview
| Artifact ID: | aa9dbde86184dd9cabe1db688ba0b864551d1ca2 |
|---|---|
| Ticket: | 3413857fffffffffffffffffffffffffffffffff
Tcl_ParseArgsObjv segfaults |
| User & Date: | ropuls on 2011-09-27 05:35:00 |
Changes
- icomment:
and a last one: does it make sense to downsize the leftovers / remObjv array? leftovers[nrem] = NULL; *objcPtr = nrem++; *remObjv = (Tcl_Obj **)ckrealloc((char *)leftovers, nrem * sizeof(Tcl_Obj *)); I'd probably pass it back as is: - ckrealloc might fail and is "relatively" expensive - memory saving is expected to be relatively low, maximum is : objc * sizeof(Tcl_Obj *), which would typically be some 40 bytes or so. ... but of course this is a serious question of style :) - login: "ropuls"
- mimetype: "text/plain"
- username: "ropuls"