From eaf9a14796c94d76f5e1419bea73b3dae187b0bd Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Fri, 17 Oct 2008 18:13:47 +0000 Subject: [PATCH] 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 --- src/kim/lib/mac/kim_os_library.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.26.2