summaryrefslogtreecommitdiffstats
path: root/generic/tclPkg.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2017-05-23 16:00:29 (GMT)
committerdgp <dgp@users.sourceforge.net>2017-05-23 16:00:29 (GMT)
commitcf0cf6ad90055ae80f8ed7ec6b87d145d31cfcff (patch)
tree09cb527b156bc510d0fd261a2a7c1140c4f0565f /generic/tclPkg.c
parentf3ea991996a821a92f44c7f822766e7d59800f6c (diff)
downloadtcl-cf0cf6ad90055ae80f8ed7ec6b87d145d31cfcff.zip
tcl-cf0cf6ad90055ae80f8ed7ec6b87d145d31cfcff.tar.gz
tcl-cf0cf6ad90055ae80f8ed7ec6b87d145d31cfcff.tar.bz2
[19a8c9399d] Plug mem leak in TIP 459 machinery.
Diffstat (limited to 'generic/tclPkg.c')
-rw-r--r--generic/tclPkg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclPkg.c b/generic/tclPkg.c
index 9ad3cb7..3b0554a 100644
--- a/generic/tclPkg.c
+++ b/generic/tclPkg.c
@@ -224,6 +224,7 @@ static void PkgFilesCleanupProc(ClientData clientData,
entry = Tcl_NextHashEntry(&search);
}
Tcl_DeleteHashTable(&pkgFiles->table);
+ ckfree(pkgFiles);
return;
}