summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkFrame.c
diff options
context:
space:
mode:
authordas <das@noemail.net>2009-02-06 08:13:23 (GMT)
committerdas <das@noemail.net>2009-02-06 08:13:23 (GMT)
commita9631b38c61daa1e8bfde300df8e91a4638a4dd6 (patch)
tree44f593df44065d8dcb637789eb6a8916b17c1726 /generic/ttk/ttkFrame.c
parenta44664092576de392a6e549e3918ccb2b06056d5 (diff)
downloadtk-a9631b38c61daa1e8bfde300df8e91a4638a4dd6.zip
tk-a9631b38c61daa1e8bfde300df8e91a4638a4dd6.tar.gz
tk-a9631b38c61daa1e8bfde300df8e91a4638a4dd6.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: FossilOrigin-Name: d9450816286ce996e1ed59081d8104370d645c5d
Diffstat (limited to 'generic/ttk/ttkFrame.c')
-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 c0f5ed6..e7e3ca6 100644
--- a/generic/ttk/ttkFrame.c
+++ b/generic/ttk/ttkFrame.c
@@ -1,4 +1,4 @@
-/* $Id: ttkFrame.c,v 1.12 2008/01/08 20:02:27 jenglish Exp $
+/* $Id: ttkFrame.c,v 1.12.2.1 2009/02/06 08:13:23 das Exp $
* Copyright (c) 2004, Joe English
*
* ttk::frame and ttk::labelframe widgets.
@@ -535,6 +535,9 @@ static void LabelframeCleanup(void *recordPtr)
{
Labelframe *lframe = recordPtr;
Ttk_DeleteManager(lframe->label.mgr);
+ if (lframe->label.labelLayout) {
+ Ttk_FreeLayout(lframe->label.labelLayout);
+ }
}
/* RaiseLabelWidget --