3 * folder_free.c -- free a folder/message structure
7 * This code is Copyright (c) 2002, by the authors of nmh. See the
8 * COPYRIGHT file in the root directory of the nmh distribution for
9 * complete copyright information.
16 folder_free (struct msgs *mp)
26 /* free the sequence names */
27 for (i = 0; mp->msgattrs[i]; i++)
28 free (mp->msgattrs[i]);
30 free (mp->msgstats); /* free message status area */
31 free (mp); /* free main folder structure */