summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
diff options
context:
space:
mode:
authordas <das>2008-12-07 16:48:00 (GMT)
committerdas <das>2008-12-07 16:48:00 (GMT)
commit3ed9842fdfc5ade6c212958236bd3830441ad1e3 (patch)
tree88e80343b70169558aef2e8c5783a67316068e11 /generic/tkText.c
parent5f072262d2e4d654d19b433e869d070acee5a288 (diff)
downloadtk-3ed9842fdfc5ade6c212958236bd3830441ad1e3.zip
tk-3ed9842fdfc5ade6c212958236bd3830441ad1e3.tar.gz
tk-3ed9842fdfc5ade6c212958236bd3830441ad1e3.tar.bz2
Fix leaks flagged by clang static analyzer
Diffstat (limited to 'generic/tkText.c')
-rw-r--r--generic/tkText.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkText.c b/generic/tkText.c
index 0032ad5..21077df 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkText.c,v 1.79 2007/12/13 15:24:16 dgp Exp $
+ * RCS: @(#) $Id: tkText.c,v 1.79.2.1 2008/12/07 16:48:00 das Exp $
*/
#include "default.h"
@@ -2653,7 +2653,7 @@ TextPushUndoAction(
Tcl_Obj *seeInsertObj = Tcl_NewObj();
Tcl_Obj *markSet1InsertObj = Tcl_NewObj();
- Tcl_Obj *markSet2InsertObj = Tcl_NewObj();
+ Tcl_Obj *markSet2InsertObj = NULL;
Tcl_Obj *insertCmdObj = Tcl_NewObj();
Tcl_Obj *deleteCmdObj = Tcl_NewObj();