git.samba.org
/
abartlet
/
lorikeet-heimdal.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90ed2b6
)
No need to check for NULL, principal is allocated.
author
Love Hornquist Astrand
<lha@h5l.org>
Thu, 30 Jul 2009 07:47:24 +0000
(09:47 +0200)
committer
Love Hornquist Astrand
<lha@h5l.org>
Thu, 30 Jul 2009 07:47:24 +0000
(09:47 +0200)
kuser/klist.c
patch
|
blob
|
history
diff --git
a/kuser/klist.c
b/kuser/klist.c
index 6f2d9dec03fab74527e232a59d180384a3db9fae..b5145eda6940cb17b801f52502daee096bfcea3f 100644
(file)
--- a/
kuser/klist.c
+++ b/
kuser/klist.c
@@
-537,8
+537,8
@@
list_caches(void)
free(name);
}
krb5_cc_close(context, id);
- if (principal)
-
krb5_free_principal(context, principal);
+
+ krb5_free_principal(context, principal);
}
krb5_cc_cache_end_seq_get(context, cursor);