summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpspjuth <peter.spjuth@gmail.com>2002-07-25 22:12:29 (GMT)
committerpspjuth <peter.spjuth@gmail.com>2002-07-25 22:12:29 (GMT)
commita77bbdbd8abff88d2b84cbf28473094750e1bfbf (patch)
tree50d20152c9e34de32e7750d845464f0e3a7aef63
parentae0c74be1fd6cfac9d19f7027f28a97d2df45dad (diff)
downloadtk-a77bbdbd8abff88d2b84cbf28473094750e1bfbf.zip
tk-a77bbdbd8abff88d2b84cbf28473094750e1bfbf.tar.gz
tk-a77bbdbd8abff88d2b84cbf28473094750e1bfbf.tar.bz2
Last commit missed a few lines.
-rw-r--r--mac/tkMacWm.c8
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);
}