From eec22f627f35bfb37d408463c4d810482b0d3dae Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Thu, 5 Jan 2012 19:24:20 +0100 Subject: [PATCH] Free memory after use in m_draft(). --- sbr/m_draft.c | 1 + 1 file changed, 1 insertion(+) 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 -- 1.7.10.4