X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fm_draft.c;h=3659ff3d498e3934823f8e872ff6c9264f7f6b7f;hb=0c9207459097089a931399ff7d384884288bc4ac;hp=8492dd914e0dd5a46271ea34cde377e6f9efadb6;hpb=3cc8ed080f6e741b8df04a3ebe764c659e75cb38;p=mmh diff --git a/sbr/m_draft.c b/sbr/m_draft.c index 8492dd9..3659ff3 100644 --- a/sbr/m_draft.c +++ b/sbr/m_draft.c @@ -27,6 +27,7 @@ m_draft(char *which) if (!(mp = folder_read(folder))) { adios(NULL, "unable to read folder %s", folder); } + free(folder); /* ** Make sure we have enough message status space for all @@ -42,7 +43,7 @@ m_draft(char *which) adios(NULL, "unable to allocate folder storage"); } - mp->msgflags |= ALLOW_NEW; /* allow the "new" sequence */ + mp->msgflags |= ALLOW_BEYOND; /* allow the beyond sequence */ /* ** The draft message name to return is defined by `which'.