only free the orignal entries extentions if there was any.
Bug reported byg Peter Meinecke. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21764 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -697,8 +697,10 @@ kadm5_log_replay_modify (kadm5_server_context *context,
|
||||
ent.entry.extensions = es;
|
||||
goto out;
|
||||
}
|
||||
free_HDB_extensions(es);
|
||||
free(es);
|
||||
if (es) {
|
||||
free_HDB_extensions(es);
|
||||
free(es);
|
||||
}
|
||||
}
|
||||
ret = context->db->hdb_store(context->context, context->db,
|
||||
HDB_F_REPLACE, &ent);
|
||||
|
Reference in New Issue
Block a user