From: Greg Hudson Date: Fri, 9 Jul 2010 12:25:50 +0000 (+0000) Subject: Addendum to r24180: make sure osa_adb_get_policy sets its output X-Git-Tag: krb5-1.9-beta1~151 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e282eb6f8f054dab3b1749687dbbb037b0a97257;p=krb5.git Addendum to r24180: make sure osa_adb_get_policy sets its output parameter in all cases, per coding standards. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24181 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/plugins/kdb/db2/adb_policy.c b/src/plugins/kdb/db2/adb_policy.c index 87fab3ac5..3c51a27aa 100644 --- a/src/plugins/kdb/db2/adb_policy.c +++ b/src/plugins/kdb/db2/adb_policy.c @@ -191,6 +191,7 @@ osa_adb_get_policy(osa_adb_policy_t db, char *name, char *aligned_data = NULL; osa_policy_ent_t entry = NULL; + *entry_ptr = NULL; OPENLOCK(db, KRB5_DB_LOCKMODE_SHARED); if(name == NULL) {