diff options
author | pspjuth <pspjuth@noemail.net> | 2002-07-25 22:12:28 (GMT) |
---|---|---|
committer | pspjuth <pspjuth@noemail.net> | 2002-07-25 22:12:28 (GMT) |
commit | d7b6b6424b05ed0bb48c0e0962d69bab85225698 (patch) | |
tree | 50d20152c9e34de32e7750d845464f0e3a7aef63 /mac | |
parent | 47cbc96b6df9e67b3d94a56ed0da191da147eb37 (diff) | |
download | tk-d7b6b6424b05ed0bb48c0e0962d69bab85225698.zip tk-d7b6b6424b05ed0bb48c0e0962d69bab85225698.tar.gz tk-d7b6b6424b05ed0bb48c0e0962d69bab85225698.tar.bz2 |
Last commit missed a few lines.
FossilOrigin-Name: e1335f0164256d828632cba9b68e6a583b096499
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); } |