diff options
author | dkf <dkf@noemail.net> | 2014-07-18 22:05:16 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2014-07-18 22:05:16 (GMT) |
commit | 5e2da264864ec35902783211500b9524d833251a (patch) | |
tree | 3c97192d4c83299592862d178699f058113c049a /generic/tclOO.c | |
parent | 0e8cb8056ba38cbd03e63536dd1ecf0f96d17f5f (diff) | |
download | tcl-5e2da264864ec35902783211500b9524d833251a.zip tcl-5e2da264864ec35902783211500b9524d833251a.tar.gz tcl-5e2da264864ec35902783211500b9524d833251a.tar.bz2 |
[75b8433707] Plug a subtle memory leak in TclOO.
FossilOrigin-Name: 23be32a082dfd5845aa4d438185f686f56b1d3e5
Diffstat (limited to 'generic/tclOO.c')
-rw-r--r-- | generic/tclOO.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclOO.c b/generic/tclOO.c index de00733..74de6d0 100644 --- a/generic/tclOO.c +++ b/generic/tclOO.c @@ -1280,6 +1280,7 @@ TclOORemoveFromInstances( removeInstance: if (Deleted(clsPtr->thisPtr)) { + DelRef(clsPtr->instances.list[i]); clsPtr->instances.list[i] = NULL; } else { clsPtr->instances.num--; |