aboutsummaryrefslogtreecommitdiff
path: root/src/util/profile/prof_set.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2004-09-28 16:38:12 +0000
committerKen Raeburn <raeburn@mit.edu>2004-09-28 16:38:12 +0000
commit84b6ea41dce83e29c355998f3ab1d6901d911d0b (patch)
tree6a49f8396c750d6b4a7dbf07148c44595c9037f6 /src/util/profile/prof_set.c
parentbc5a32edcf13792df0f26985b41b65bcf5777d02 (diff)
downloadkrb5-84b6ea41dce83e29c355998f3ab1d6901d911d0b.zip
krb5-84b6ea41dce83e29c355998f3ab1d6901d911d0b.tar.gz
krb5-84b6ea41dce83e29c355998f3ab1d6901d911d0b.tar.bz2
* prof_file.c (profile_dereference_data_locked): New function.
(profile_dereference_data): Call it. * prof_set.c (rw_setup): Likewise. * prof_int.h (profile_dereference_data_locked): Declare it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16792 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/profile/prof_set.c')
-rw-r--r--src/util/profile/prof_set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/profile/prof_set.c b/src/util/profile/prof_set.c
index 310949b..eb395a1 100644
--- a/src/util/profile/prof_set.c
+++ b/src/util/profile/prof_set.c
@@ -74,7 +74,7 @@ static errcode_t rw_setup(profile_t profile)
free(new_data);
return retval;
}
- profile_dereference_data(file->data);
+ profile_dereference_data_locked(file->data);
file->data = new_data;
}
#endif /* SHARE_TREE_DATA */