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)
commita9e315b665e4e886a8679177d61ed0355c4649ab (patch)
tree88e80343b70169558aef2e8c5783a67316068e11 /generic/tkText.c
parentc9cfe0549ecf89a9ac1e0e00edafb230955a0a17 (diff)
downloadtk-a9e315b665e4e886a8679177d61ed0355c4649ab.zip
tk-a9e315b665e4e886a8679177d61ed0355c4649ab.tar.gz
tk-a9e315b665e4e886a8679177d61ed0355c4649ab.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();