From: Alexandra Ellwood Date: Tue, 21 Oct 2008 21:54:51 +0000 (+0000) Subject: kim_os_library_get_caller_name leaks file path X-Git-Tag: krb5-1.7-alpha1~277 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8376685ed51bc4c4174646dead99c7d22a9abafd;p=krb5.git kim_os_library_get_caller_name leaks file path ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20906 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kim/lib/mac/kim_os_library.c b/src/kim/lib/mac/kim_os_library.c index 556eeeb22..2c54b8fa8 100644 --- a/src/kim/lib/mac/kim_os_library.c +++ b/src/kim/lib/mac/kim_os_library.c @@ -303,6 +303,7 @@ kim_error kim_os_library_get_caller_name (kim_string *out_application_name) if (cfpathnoext) { CFRelease (cfpathnoext); } if (cfpath ) { CFRelease (cfpath); } + kim_string_free (&path); } if (!err && cfname) {