2 * folder_free.c -- free a folder/message structure
4 * This code is Copyright (c) 2002, by the authors of nmh. See the
5 * COPYRIGHT file in the root directory of the nmh distribution for
6 * complete copyright information.
13 folder_free (struct msgs *mp)
23 /* free the sequence names */
24 for (i = 0; mp->msgattrs[i]; i++)
25 free (mp->msgattrs[i]);
27 free (mp->msgstats); /* free message status area */
28 free (mp); /* free main folder structure */