}
icalmemory_free_ring ();
icalcomponent_free(encaps);
+ encaps = NULL;
}
/** Or, check attendee availability if the user asked for that. */
display_edit_individual_event(encaps, msgnum, from, unread);
icalcomponent_free(encaps);
+ encaps = NULL;
+ }
+ if (encaps != NULL) {
+ icalcomponent_free(encaps);
+ encaps = NULL;
}
}