diff options
author | Danilo Almeida <dalmeida@mit.edu> | 1999-08-05 20:08:52 +0000 |
---|---|---|
committer | Danilo Almeida <dalmeida@mit.edu> | 1999-08-05 20:08:52 +0000 |
commit | 62ebfa031824163ac9c464c53939b4a48d1ee25e (patch) | |
tree | d85b519adb294f6ef0820e99c8a0d7161697ed79 /src/util/profile | |
parent | e5dc7787bf04e154a08deb684cafc4d43d953905 (diff) | |
download | krb5-62ebfa031824163ac9c464c53939b4a48d1ee25e.zip krb5-62ebfa031824163ac9c464c53939b4a48d1ee25e.tar.gz krb5-62ebfa031824163ac9c464c53939b4a48d1ee25e.tar.bz2 |
Remove profile_free_string because we already have profile_release_string
(who named these things anyhow?)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11623 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/profile')
-rw-r--r-- | src/util/profile/ChangeLog | 3 | ||||
-rw-r--r-- | src/util/profile/prof_get.c | 8 | ||||
-rw-r--r-- | src/util/profile/profile.hin | 4 |
3 files changed, 2 insertions, 13 deletions
diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog index 46c888b..6bf4873 100644 --- a/src/util/profile/ChangeLog +++ b/src/util/profile/ChangeLog @@ -2,7 +2,8 @@ * prof_get.c (profile_free_string): * profile.hin: Add profile_free_string to free strings allocated - by profile_get_string. + by profile_get_string. -- And then remove them because + profile_release_string already exists for that purpose. 1999-08-03 Alexandra Ellwood <lxs@mit.edu> diff --git a/src/util/profile/prof_get.c b/src/util/profile/prof_get.c index 2c08c20..2589b24 100644 --- a/src/util/profile/prof_get.c +++ b/src/util/profile/prof_get.c @@ -241,14 +241,6 @@ profile_get_string(profile, name, subname, subsubname, return 0; } -KRB5_DLLIMP void KRB5_CALLCONV -profile_free_string(value) - char *value; -{ - if (value) - free(value); -} - KRB5_DLLIMP errcode_t KRB5_CALLCONV profile_get_integer(profile, name, subname, subsubname, def_val, ret_int) diff --git a/src/util/profile/profile.hin b/src/util/profile/profile.hin index 177e213..420b955 100644 --- a/src/util/profile/profile.hin +++ b/src/util/profile/profile.hin @@ -86,10 +86,6 @@ KRB5_DLLIMP long KRB5_CALLCONV profile_get_string PROTOTYPE((profile_t profile, const char *name, const char *subname, const char *subsubname, const char *def_val, char **ret_string)); - -KRB5_DLLIMP void KRB5_CALLCONV profile_free_string - PROTOTYPE ((char *value)); - KRB5_DLLIMP long KRB5_CALLCONV profile_get_integer PROTOTYPE((profile_t profile, const char *name, const char *subname, const char *subsubname, int def_val, |