diff options
author | Alexandra Ellwood <lxs@mit.edu> | 2003-07-03 19:15:03 +0000 |
---|---|---|
committer | Alexandra Ellwood <lxs@mit.edu> | 2003-07-03 19:15:03 +0000 |
commit | 63c66dae53c2960a089f648028df4df0a21f1818 (patch) | |
tree | a20ff1227d0244e686681178c49e1862455fcd92 | |
parent | 02cf06d132ed91b0f9a2771cd9b3fcadf2fdcc08 (diff) | |
download | krb5-63c66dae53c2960a089f648028df4df0a21f1818.zip krb5-63c66dae53c2960a089f648028df4df0a21f1818.tar.gz krb5-63c66dae53c2960a089f648028df4df0a21f1818.tar.bz2 |
init_os_ctx.c: removed memory leak. Was leaking profiles on the Mac. Fix for KfM 4.5.3
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-2-2-branch@15665 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/lib/krb5/os/ChangeLog | 4 | ||||
-rw-r--r-- | src/lib/krb5/os/init_os_ctx.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index ee721ce..7363eab 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,7 @@ +2003-07-03 Alexandra Ellwood <lxs@mit.edu> + * init_os_ctx.c: removed memory leak. Was leaking profiles on + the Mac. Fix for KfM 4.5.3 + 2002-10-31 Tom Yu <tlyu@mit.edu> * hst_realm.c (krb5_try_realm_txt_rr): Apply patch from Nalin diff --git a/src/lib/krb5/os/init_os_ctx.c b/src/lib/krb5/os/init_os_ctx.c index 7cc456c..2ffe959 100644 --- a/src/lib/krb5/os/init_os_ctx.c +++ b/src/lib/krb5/os/init_os_ctx.c @@ -167,7 +167,6 @@ static void free_filespecs(files) profile_filespec_t *files; { -#if !TARGET_OS_MAC char **cp; if (files == 0) @@ -175,7 +174,6 @@ free_filespecs(files) for (cp = files; *cp; cp++) free(*cp); -#endif free(files); } |