+1999-06-23 Danilo Almeida <dalmeida@mit.edu>
+
+ * prof_init.c (profile_abandon, profile_release): Check whether
+ profile is valid before partying on it.
+
1999-06-18 Ken Raeburn <raeburn@mit.edu>
* prof_tree.c (profile_node_iterator): Remove semicolon after
{
prf_file_t p, next;
+ if (!profile || profile->magic != PROF_MAGIC_PROFILE)
+ return;
+
for (p = profile->first_file; p; p = next) {
next = p->next;
profile_free_file(p);
{
prf_file_t p, next;
+ if (!profile || profile->magic != PROF_MAGIC_PROFILE)
+ return;
+
for (p = profile->first_file; p; p = next) {
next = p->next;
profile_close_file(p);