diff options
author | Steve Bennett <steveb@workware.net.au> | 2012-08-19 10:46:44 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2012-08-19 10:49:27 +1000 |
commit | 8f2b66b05d90a3650886911d5926142b91c08c7d (patch) | |
tree | c7dca10b3f77950adf1a0fe9cc60a0bdef3f5d41 | |
parent | 935d76b11cd4280a23af67a1b19f35670eadc59d (diff) | |
download | jimtcl-8f2b66b05d90a3650886911d5926142b91c08c7d.zip jimtcl-8f2b66b05d90a3650886911d5926142b91c08c7d.tar.gz jimtcl-8f2b66b05d90a3650886911d5926142b91c08c7d.tar.bz2 |
Ensure that the full ref is passed to finalizer
The reference was being incorrectly truncated
Signed-off-by: Steve Bennett <steveb@workware.net.au>
-rw-r--r-- | jim.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5264,7 +5264,7 @@ int Jim_Collect(Jim_Interp *interp) JimFormatReference(refstr, refPtr, *refId); objv[0] = refPtr->finalizerCmdNamePtr; - objv[1] = Jim_NewStringObjNoAlloc(interp, refstr, 32); + objv[1] = Jim_NewStringObjNoAlloc(interp, refstr, JIM_REFERENCE_SPACE); objv[2] = refPtr->objPtr; /* Drop the reference itself */ |