delete it and all references.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23524
dc483132-0cff-0310-8789-
dd5450dbe970
assert(fcopy == d->filespec);
strlcpy(fcopy, filename, flen + 1);
d->refcount = 1;
- d->comment = NULL;
d->magic = PROF_MAGIC_FILE_DATA;
d->root = NULL;
d->next = NULL;
profile_free_node(data->root);
data->root = 0;
}
- if (data->comment) {
- free(data->comment);
- data->comment = 0;
- }
#else
/*
* If we don't have the stat() call, assume that our in-core
}
if (data->root)
profile_free_node(data->root);
- if (data->comment)
- free(data->comment);
data->magic = 0;
k5_mutex_destroy(&data->lock);
free(data);
unsigned long frac_ts; /* fractional part of timestamp, if any */
int flags; /* r/w, dirty */
int upd_serial; /* incremented when data changes */
- char *comment;
size_t fslen;