diff options
author | das <das> | 2009-02-06 08:12:06 (GMT) |
---|---|---|
committer | das <das> | 2009-02-06 08:12:06 (GMT) |
commit | 76e883da5646c90946512d237df48377778d63cc (patch) | |
tree | 575c6e052e7d2d83bbdced2270820a4e834455eb /generic/tkText.c | |
parent | aa3ffc278895964cd47e3ef9e875eee6f8b7e71b (diff) | |
download | tk-76e883da5646c90946512d237df48377778d63cc.zip tk-76e883da5646c90946512d237df48377778d63cc.tar.gz tk-76e883da5646c90946512d237df48377778d63cc.tar.bz2 |
* generic/tkImgPhInstance.c: fix numerous leaks discovered with the
* generic/tkMenu.c: Mac OS X Instruments.app Leaks tool.
* generic/tkText.c:
* generic/tkTextImage.c:
* generic/tkTextIndex.c:
* generic/tkUndo.c:
* generic/tkUtil.c:
* generic/ttk/ttkFrame.c:
* macosx/tkMacOSXWm.c:
Diffstat (limited to 'generic/tkText.c')
-rw-r--r-- | generic/tkText.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tkText.c b/generic/tkText.c index c7c5418..4e605ce 100644 --- a/generic/tkText.c +++ b/generic/tkText.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkText.c,v 1.88 2009/02/03 23:55:47 nijtmans Exp $ + * RCS: @(#) $Id: tkText.c,v 1.89 2009/02/06 08:12:07 das Exp $ */ #include "default.h" @@ -1968,6 +1968,7 @@ DestroyText( if (sharedTextPtr->bindingTable != NULL) { Tk_DeleteBindingTable(sharedTextPtr->bindingTable); } + ckfree((char *) sharedTextPtr); } if (textPtr->tabArrayPtr != NULL) { |