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