Addendum to r24180: make sure osa_adb_get_policy sets its output
authorGreg Hudson <ghudson@mit.edu>
Fri, 9 Jul 2010 12:25:50 +0000 (12:25 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 9 Jul 2010 12:25:50 +0000 (12:25 +0000)
parameter in all cases, per coding standards.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24181 dc483132-0cff-0310-8789-dd5450dbe970

src/plugins/kdb/db2/adb_policy.c

index 87fab3ac57c6759d5790a35c2c1dda781f429b98..3c51a27aa99b6d48075988e8cf3e76792471fcd2 100644 (file)
@@ -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) {