From: Wilfried Goesgens Date: Mon, 16 Jul 2012 12:53:44 +0000 (+0200) Subject: ITERATE:THISROOM:GNET: fix memory leak. X-Git-Tag: v8.13~2 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=5fab96e568561eecea88c25c9e5b00c24202a1c5 ITERATE:THISROOM:GNET: fix memory leak. --- diff --git a/webcit/roomlist.c b/webcit/roomlist.c index 3bd202b30..beb2faae7 100644 --- a/webcit/roomlist.c +++ b/webcit/roomlist.c @@ -393,6 +393,8 @@ HashList *GetNetConfigHash(StrBuf *Target, WCTemplputParams *TP) else if (State == 550) AppendImportantMessage(_("Higher access is required to access this function."), -1); + FreeStrBuf(&Line); + FreeStrBuf(&Token); return WCC->CurRoom.IgnetCfgs[WantThisOne]; }