diff options
| author | Kevin B Kenny <kennykb@acm.org> | 2007-05-02 20:50:20 (GMT) |
|---|---|---|
| committer | Kevin B Kenny <kennykb@acm.org> | 2007-05-02 20:50:20 (GMT) |
| commit | 36f6c6469faa0d7b505fb15c51a52f99433dccb7 (patch) | |
| tree | bb7430bcf82225223bc7ed7fc99f7ec132dd649b /generic/tclTest.c | |
| parent | 40722de9d3980f9ff58d0a05f940569248444401 (diff) | |
| download | tcl-36f6c6469faa0d7b505fb15c51a52f99433dccb7.zip tcl-36f6c6469faa0d7b505fb15c51a52f99433dccb7.tar.gz tcl-36f6c6469faa0d7b505fb15c51a52f99433dccb7.tar.bz2 | |
* generic/tclTest.c (SimpleMatchInDirectory): Corrected a refcount
imbalance that affected the filesystem-[147]* tests in the test
suite. Thanks to Don Porter for the patch. [Bug 1710707]
Diffstat (limited to 'generic/tclTest.c')
| -rw-r--r-- | generic/tclTest.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c index 4ed28c8..4cf57ce 100644 --- a/generic/tclTest.c +++ b/generic/tclTest.c @@ -14,7 +14,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclTest.c,v 1.109 2007/04/23 17:56:07 kennykb Exp $ + * RCS: @(#) $Id: tclTest.c,v 1.110 2007/05/02 20:50:26 kennykb Exp $ */ #define TCL_TEST @@ -6805,7 +6805,6 @@ SimpleMatchInDirectory( resPtr = Tcl_NewObj(); Tcl_IncrRefCount(resPtr); origPtr = SimpleRedirect(dirPtr); - Tcl_IncrRefCount(origPtr); res = Tcl_FSMatchInDirectory(interp, resPtr, origPtr, pattern, types); if (res == TCL_OK) { int gLength, j; |
