From: Alexandra Ellwood Date: Fri, 17 Oct 2008 18:13:47 +0000 (+0000) Subject: Double free and leak in kim_os_library_get_application_path X-Git-Tag: krb5-1.7-alpha1~295 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eaf9a14796c94d76f5e1419bea73b3dae187b0bd;p=krb5.git Double free and leak in kim_os_library_get_application_path ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20885 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 2c4eb90d8..556eeeb22 100644 --- a/src/kim/lib/mac/kim_os_library.c +++ b/src/kim/lib/mac/kim_os_library.c @@ -199,7 +199,7 @@ kim_error kim_os_library_get_application_path (kim_string *out_path) } if (cfpath ) { CFRelease (cfpath); } - if (absolute_url ) { CFRelease (bundle_url); } + if (absolute_url ) { CFRelease (absolute_url); } if (bundle_url ) { CFRelease (bundle_url); } if (resources_url ) { CFRelease (resources_url); } if (executable_url) { CFRelease (executable_url); }