summaryrefslogtreecommitdiffstats
path: root/win/tkWinInit.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-12-28 23:09:12 (GMT)
committerhobbs <hobbs>2001-12-28 23:09:12 (GMT)
commit65eb91e24d86d9e7ad1bd55dec69b13e1c28b1d0 (patch)
tree80f2992b9003201d4a47ca3dbb1f30d5dbab8d71 /win/tkWinInit.c
parentafc727ec6bc49648837d084205d0115ed7438bfb (diff)
downloadtk-65eb91e24d86d9e7ad1bd55dec69b13e1c28b1d0.zip
tk-65eb91e24d86d9e7ad1bd55dec69b13e1c28b1d0.tar.gz
tk-65eb91e24d86d9e7ad1bd55dec69b13e1c28b1d0.tar.bz2
win/tkWinInit.c (TkpDisplayWarning): added Tcl_DStringFrees
Diffstat (limited to 'win/tkWinInit.c')
-rw-r--r--win/tkWinInit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/win/tkWinInit.c b/win/tkWinInit.c
index f071eef..eb87599 100644
--- a/win/tkWinInit.c
+++ b/win/tkWinInit.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinInit.c,v 1.5 2001/12/28 02:14:41 hobbs Exp $
+ * RCS: @(#) $Id: tkWinInit.c,v 1.6 2001/12/28 23:09:12 hobbs Exp $
*/
#include "tkWinInt.h"
@@ -131,4 +131,6 @@ TkpDisplayWarning(msg, title)
(WCHAR *) Tcl_DStringValue(&titleString),
MB_OK | MB_ICONEXCLAMATION | MB_SYSTEMMODAL
| MB_SETFOREGROUND | MB_TOPMOST);
+ Tcl_DStringFree(&msgString);
+ Tcl_DStringFree(&titleString);
}