From b6ace34422842ac5e294e90215d379c78b735085 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Wed, 4 Feb 2009 19:31:33 +0000 Subject: [PATCH] In tcl_ovsec_kadm_get_policy, initialize ent since (at least in theory) there's a code path which gets through to the finalizers without setting it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21882 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/testing/util/tcl_ovsec_kadm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kadmin/testing/util/tcl_ovsec_kadm.c b/src/kadmin/testing/util/tcl_ovsec_kadm.c index db0b4cc58..936e028f5 100644 --- a/src/kadmin/testing/util/tcl_ovsec_kadm.c +++ b/src/kadmin/testing/util/tcl_ovsec_kadm.c @@ -1742,7 +1742,7 @@ static int tcl_ovsec_kadm_get_policy(ClientData clientData, Tcl_Interp *interp, int argc, const char *argv[]) { - ovsec_kadm_policy_ent_t ent; + ovsec_kadm_policy_ent_t ent = NULL; Tcl_DString *ent_dstring = 0; char *policy; char *ent_var; -- 2.26.2