diff options
author | dgp <dgp@users.sourceforge.net> | 2011-08-17 16:21:42 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2011-08-17 16:21:42 (GMT) |
commit | a92afa9b61a4bf2e0e60434cfb29c140f319d6dd (patch) | |
tree | 2420cb1c6f945c7eb80cbf0ece7f64790a1da8ad /generic/tclGet.c | |
parent | c40f358d218fd889c73f460de21aeafe79039ddd (diff) | |
download | tcl-a92afa9b61a4bf2e0e60434cfb29c140f319d6dd.zip tcl-a92afa9b61a4bf2e0e60434cfb29c140f319d6dd.tar.gz tcl-a92afa9b61a4bf2e0e60434cfb29c140f319d6dd.tar.bz2 |
3393150 Overlooked free of intreps. (It matters for bignums!)
Diffstat (limited to 'generic/tclGet.c')
-rw-r--r-- | generic/tclGet.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tclGet.c b/generic/tclGet.c index 54b4370..28734d1 100644 --- a/generic/tclGet.c +++ b/generic/tclGet.c @@ -53,6 +53,7 @@ Tcl_GetInt( if (obj.refCount > 1) { Tcl_Panic("invalid sharing of Tcl_Obj on C stack"); } + TclFreeIntRep(&obj); return code; } @@ -98,6 +99,7 @@ TclGetLong( if (obj.refCount > 1) { Tcl_Panic("invalid sharing of Tcl_Obj on C stack"); } + TclFreeIntRep(&obj); return code; } @@ -141,6 +143,7 @@ Tcl_GetDouble( if (obj.refCount > 1) { Tcl_Panic("invalid sharing of Tcl_Obj on C stack"); } + TclFreeIntRep(&obj); return code; } |