Skip to content

Commit

Permalink
hdb: read_master_key add parens around (*mkey)
Browse files Browse the repository at this point in the history
Add parens around the use of (*mkey)->next.

Change-Id: I3b60c2432d1c5dee8483795bed52ff24c7aa6a70
  • Loading branch information
jaltman committed Nov 19, 2016
1 parent 9e72c47 commit 0dc3d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hdb/mkey.c
Expand Up @@ -149,7 +149,7 @@ read_master_keytab(krb5_context context, const char *filename,
if (ret) {
/* do not return allocated memory on failure */
do {
p = *mkey->next;
p = (*mkey)->next;
free(*mkey);
*mkey = p;
} while (p != NULL);
Expand Down

0 comments on commit 0dc3d21

Please sign in to comment.