directly instead of calling profile_close_file.
ticket: 2878
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17035
dc483132-0cff-0310-8789-
dd5450dbe970
* prof_file.c (profile_free_file_data): Destroy mutex before
freeing containing structure.
+ (profile_open_file): If mutex creation fails, free storage
+ directly instead of calling profile_close_file.
2004-12-14 Ken Raeburn <raeburn@mit.edu>
retval = k5_mutex_init(&data->lock);
if (retval) {
- profile_close_file(prf);
+ free(data);
+ free(prf);
return retval;
}