input file, destroy the mutex only if we're not sharing file data.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16698
dc483132-0cff-0310-8789-
dd5450dbe970
+2004-08-28 Ken Raeburn <raeburn@mit.edu>
+
+ * prof_file.c (profile_open_file): If an error occurs while
+ updating from the input file, destroy the mutex only if we're not
+ sharing file data.
+
2004-08-27 Ken Raeburn <raeburn@mit.edu>
* prof_parse.c (parse_std_line): Rewrite handling of whitespace in
retval = profile_update_file(prf);
if (retval) {
+#ifndef SHARE_TREE_DATA
k5_mutex_destroy(&data->lock);
+#endif
profile_close_file(prf);
return retval;
}