summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-05-08 13:01:47 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-05-08 13:01:47 (GMT)
commit882794a48ef4c92e617a0c6bec02c14ec64d63cf (patch)
tree73d8d5137cbcf2e52fb7dd7201ea2b5af805fbd9 /generic/tclIO.c
parent5e1038193c820c5a5ae7b27886d8d3100e18ea49 (diff)
downloadtcl-882794a48ef4c92e617a0c6bec02c14ec64d63cf.zip
tcl-882794a48ef4c92e617a0c6bec02c14ec64d63cf.tar.gz
tcl-882794a48ef4c92e617a0c6bec02c14ec64d63cf.tar.bz2
Revert the iogt-2.5 fix. For now one panic is better than widespread
memory leaks.
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r--generic/tclIO.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index d69a3d9..678dc4b 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -2716,11 +2716,8 @@ FlushChannel(
statePtr->outQueueTail = NULL;
}
RecycleBuffer(statePtr, bufPtr, 0);
- bufPtr = NULL;
- }
- if (bufPtr) {
- ReleaseChannelBuffer(bufPtr);
}
+ ReleaseChannelBuffer(bufPtr);
} /* Closes "while (1)". */
/*