summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authordas <das>2009-02-06 08:12:06 (GMT)
committerdas <das>2009-02-06 08:12:06 (GMT)
commit76e883da5646c90946512d237df48377778d63cc (patch)
tree575c6e052e7d2d83bbdced2270820a4e834455eb /generic/ttk
parentaa3ffc278895964cd47e3ef9e875eee6f8b7e71b (diff)
downloadtk-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/ttk')
-rw-r--r--generic/ttk/ttkFrame.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/ttk/ttkFrame.c b/generic/ttk/ttkFrame.c
index f7ac834..f7edfe3 100644
--- a/generic/ttk/ttkFrame.c
+++ b/generic/ttk/ttkFrame.c
@@ -1,4 +1,4 @@
-/* $Id: ttkFrame.c,v 1.13 2008/11/09 23:53:09 jenglish Exp $
+/* $Id: ttkFrame.c,v 1.14 2009/02/06 08:12:07 das Exp $
* Copyright (c) 2004, Joe English
*
* ttk::frame and ttk::labelframe widgets.
@@ -533,6 +533,9 @@ static void LabelframeCleanup(void *recordPtr)
{
Labelframe *lframe = recordPtr;
Ttk_DeleteManager(lframe->label.mgr);
+ if (lframe->label.labelLayout) {
+ Ttk_FreeLayout(lframe->label.labelLayout);
+ }
}
/* RaiseLabelWidget --