diff options
author | das <das> | 2009-02-06 08:13:23 (GMT) |
---|---|---|
committer | das <das> | 2009-02-06 08:13:23 (GMT) |
commit | 15a787b4fd8d5503b075058f4e2ee096eb8d1924 (patch) | |
tree | 44f593df44065d8dcb637789eb6a8916b17c1726 /generic/tkText.c | |
parent | 86073d3f1d918d1867733cd3eca92d32e88edb12 (diff) | |
download | tk-15a787b4fd8d5503b075058f4e2ee096eb8d1924.zip tk-15a787b4fd8d5503b075058f4e2ee096eb8d1924.tar.gz tk-15a787b4fd8d5503b075058f4e2ee096eb8d1924.tar.bz2 |
* generic/tkImgPhoto.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/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 fb2f9b1..95d91e5 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.79.2.2 2008/12/21 23:52:45 ferrieux Exp $ + * RCS: @(#) $Id: tkText.c,v 1.79.2.3 2009/02/06 08:13:23 das Exp $ */ #include "default.h" @@ -1955,6 +1955,7 @@ DestroyText( if (sharedTextPtr->bindingTable != NULL) { Tk_DeleteBindingTable(sharedTextPtr->bindingTable); } + ckfree((char *) sharedTextPtr); } if (textPtr->tabArrayPtr != NULL) { |