X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fm_draft.c;h=b8d385f9766f2fa3a04ec0ee9f8334b4db263df4;hp=b3659f9896349655b63a307d45a626fa3f8d5d7c;hb=d4c34b4439a9dbd89664de460ed37ecddc260fb1;hpb=cf1205b5cbea2f0cd6ea710ec16c637df85b647c diff --git a/sbr/m_draft.c b/sbr/m_draft.c index b3659f9..b8d385f 100644 --- a/sbr/m_draft.c +++ b/sbr/m_draft.c @@ -19,7 +19,7 @@ char * m_draft(char *which) { - register struct msgs *mp; + struct msgs *mp; static char buffer[BUFSIZ]; char *folder; @@ -28,7 +28,7 @@ m_draft(char *which) if (!(mp = folder_read(folder))) { adios(EX_IOERR, NULL, "unable to read folder %s", folder); } - free(folder); + mh_free0(&folder); /* ** Make sure we have enough message status space for all