From 5fab96e568561eecea88c25c9e5b00c24202a1c5 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Mon, 16 Jul 2012 14:53:44 +0200 Subject: [PATCH] ITERATE:THISROOM:GNET: fix memory leak. --- webcit/roomlist.c | 2 ++ 1 file changed, 2 insertions(+) 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]; } -- 2.30.2