diff options
author | pspjuth <peter.spjuth@gmail.com> | 2002-07-25 22:12:29 (GMT) |
---|---|---|
committer | pspjuth <peter.spjuth@gmail.com> | 2002-07-25 22:12:29 (GMT) |
commit | a77bbdbd8abff88d2b84cbf28473094750e1bfbf (patch) | |
tree | 50d20152c9e34de32e7750d845464f0e3a7aef63 /mac | |
parent | ae0c74be1fd6cfac9d19f7027f28a97d2df45dad (diff) | |
download | tk-a77bbdbd8abff88d2b84cbf28473094750e1bfbf.zip tk-a77bbdbd8abff88d2b84cbf28473094750e1bfbf.tar.gz tk-a77bbdbd8abff88d2b84cbf28473094750e1bfbf.tar.bz2 |
Last commit missed a few lines.
Diffstat (limited to 'mac')
-rw-r--r-- | mac/tkMacWm.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mac/tkMacWm.c b/mac/tkMacWm.c index ed628c3..450941b 100644 --- a/mac/tkMacWm.c +++ b/mac/tkMacWm.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacWm.c,v 1.20 2002/07/25 21:36:08 pspjuth Exp $ + * RCS: @(#) $Id: tkMacWm.c,v 1.21 2002/07/25 22:12:29 pspjuth Exp $ */ #include <Gestalt.h> @@ -690,6 +690,12 @@ TkWmDeadWindow(winPtr) if (wmPtr == NULL) { return; } + if (wmPtr->title != NULL) { + ckfree(wmPtr->title); + } + if (wmPtr->iconName != NULL) { + ckfree(wmPtr->iconName); + } if (wmPtr->hints.flags & IconPixmapHint) { Tk_FreeBitmap(winPtr->display, wmPtr->hints.icon_pixmap); } |