From: markus schnalke Date: Thu, 5 Jan 2012 18:24:20 +0000 (+0100) Subject: Free memory after use in m_draft(). X-Git-Tag: mmh-thesis-end~417 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=eec22f627f35bfb37d408463c4d810482b0d3dae;p=mmh Free memory after use in m_draft(). --- diff --git a/sbr/m_draft.c b/sbr/m_draft.c index 427d2db..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