kim_os_library_get_caller_name leaks file path
authorAlexandra Ellwood <lxs@mit.edu>
Tue, 21 Oct 2008 21:54:51 +0000 (21:54 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Tue, 21 Oct 2008 21:54:51 +0000 (21:54 +0000)
ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20906 dc483132-0cff-0310-8789-dd5450dbe970

src/kim/lib/mac/kim_os_library.c

index 556eeeb223f43fd4626e5c98949350ac448abe85..2c54b8fa831d77a39247531b10d8926e00c3f10a 100644 (file)
@@ -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) {