projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
166ea16
)
kim_os_string_create_localized leaks CFStringRef
author
Alexandra Ellwood
<lxs@mit.edu>
Fri, 10 Oct 2008 21:58:26 +0000
(21:58 +0000)
committer
Alexandra Ellwood
<lxs@mit.edu>
Fri, 10 Oct 2008 21:58:26 +0000
(21:58 +0000)
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20865
dc483132
-0cff-0310-8789-
dd5450dbe970
src/kim/lib/mac/kim_os_string.c
patch
|
blob
|
history
diff --git
a/src/kim/lib/mac/kim_os_string.c
b/src/kim/lib/mac/kim_os_string.c
index 0529f3920763c4800316edbe875ff09afbbf10bb..5999021d7a76506932d5c48cf5a9c4e21be1094a 100644
(file)
--- a/
src/kim/lib/mac/kim_os_string.c
+++ b/
src/kim/lib/mac/kim_os_string.c
@@
-67,6
+67,8
@@
kim_error kim_os_string_create_localized (kim_string *out_string,
if (!err && cfstring) {
err = kim_os_string_create_from_cfstring (&string, cfstring);
}
+
+ if (cfstring) { CFRelease (cfstring); }
}
if (!err && !string) {