Mercurial > hg > Applications > mh
view sbr/m_fmsg.c @ 17:76d91e545ea8 default tip
addrsbr and dtimep fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 Nov 2014 14:49:25 +0900 |
parents | 441a2190cfae |
children |
line wrap: on
line source
/* m_fmsg.c - free a folder */ #ifndef lint static char ident[] = "@(#)$Id: m_fmsg.c,v 1.1.1.1 2005/04/18 14:46:06 kono Exp $"; #endif /* lint */ #include "../h/mh.h" #include <stdio.h> void m_fmsg (mp) register struct msgs *mp; { register int i; if (mp == NULL) return; if (mp -> foldpath) free (mp -> foldpath); #ifdef MTR free ((char *) mp -> msgbase); #endif /* MTR */ for (i = 0; mp -> msgattrs[i]; i++) free (mp -> msgattrs[i]); free ((char *) mp); }