projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16afa8f
)
kim_selection_hints_get_identity should call kim_ui_fini even when kim_ui_select_iden...
author
Justin Anderson
<jander@mit.edu>
Wed, 1 Oct 2008 14:00:16 +0000
(14:00 +0000)
committer
Justin Anderson
<jander@mit.edu>
Wed, 1 Oct 2008 14:00:16 +0000
(14:00 +0000)
ticket: 6055
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20791
dc483132
-0cff-0310-8789-
dd5450dbe970
src/kim/lib/kim_selection_hints.c
patch
|
blob
|
history
diff --git
a/src/kim/lib/kim_selection_hints.c
b/src/kim/lib/kim_selection_hints.c
index 6bfa3f18201808da71d2290fb74d99d25823131b..70dacd75f4f3210269e50a70ecf7e3ac6324f87d 100644
(file)
--- a/
src/kim/lib/kim_selection_hints.c
+++ b/
src/kim/lib/kim_selection_hints.c
@@
-465,8
+465,10
@@
kim_error kim_selection_hints_get_identity (kim_selection_hints in_selection_hi
&identity);
}
- if (!err) {
- err = kim_ui_fini (&context);
+ if (context.initialized) {
+ kim_error terr = KIM_NO_ERROR;
+ terr = kim_ui_fini (&context);
+ err = (terr != KIM_NO_ERROR) ? terr : err;
}
}