diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2007-06-10 00:08:30 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2007-06-10 00:08:30 (GMT) |
commit | 5921307059d261f04a77cfeb4c0658454884c646 (patch) | |
tree | 3db55b5d2de2488aaca2efc3b2e04b4d28a78d62 /generic/tclInt.h | |
parent | 4aae1a1f748ca733bab588830c03a9faa51b29e7 (diff) | |
download | tcl-5921307059d261f04a77cfeb4c0658454884c646.zip tcl-5921307059d261f04a77cfeb4c0658454884c646.tar.gz tcl-5921307059d261f04a77cfeb4c0658454884c646.tar.bz2 |
fix for ne TclCleanupCommandMacro (doh!)
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 0387496..dc0efa7 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclInt.h,v 1.314 2007/06/09 20:12:55 msofer Exp $ + * RCS: @(#) $Id: tclInt.h,v 1.315 2007/06/10 00:08:30 msofer Exp $ */ #ifndef _TCLINT @@ -3410,7 +3410,7 @@ MODULE_SCOPE void TclBNInitBignumFromWideUInt(mp_int *bignum, */ #define TclCleanupCommandMacro(cmdPtr) \ - if ((cmdPtr)->refCount <= 0) { \ + if (--(cmdPtr)->refCount <= 0) { \ ckfree((char *) (cmdPtr));\ } |