diff options
author | vincentdarley <vincentdarley> | 2003-11-03 12:48:30 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley> | 2003-11-03 12:48:30 (GMT) |
commit | f4af0965449025714b1cb4d66f771290f1ce9efa (patch) | |
tree | c0254f727dca7fd1b7f26a20bfcec35ea2df79a0 /unix/tclUnixFile.c | |
parent | 3cda330fac41dc8b8e2ff6fb19efaeaa5ac5db11 (diff) | |
download | tcl-f4af0965449025714b1cb4d66f771290f1ce9efa.zip tcl-f4af0965449025714b1cb4d66f771290f1ce9efa.tar.gz tcl-f4af0965449025714b1cb4d66f771290f1ce9efa.tar.bz2 |
free path when no longer needed
Diffstat (limited to 'unix/tclUnixFile.c')
-rw-r--r-- | unix/tclUnixFile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c index d68bebd..f268ad5 100644 --- a/unix/tclUnixFile.c +++ b/unix/tclUnixFile.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixFile.c,v 1.33 2003/10/13 16:48:07 vincentdarley Exp $ + * RCS: @(#) $Id: tclUnixFile.c,v 1.34 2003/11/03 12:48:30 vincentdarley Exp $ */ #include "tclInt.h" @@ -267,6 +267,7 @@ TclpMatchInDirectory(interp, resultPtr, pathPtr, pattern, types) || !S_ISDIR(statBuf.st_mode)) { Tcl_DStringFree(&dsOrig); Tcl_DStringFree(&ds); + Tcl_DecrRefCount(fileNamePtr); return TCL_OK; } |