* 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>
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)
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,