ITERATE:THISROOM:GNET: fix memory leak.
authorWilfried Goesgens <dothebart@citadel.org>
Mon, 16 Jul 2012 12:53:44 +0000 (14:53 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Mon, 16 Jul 2012 12:53:44 +0000 (14:53 +0200)
webcit/roomlist.c

index 3bd202b30e35e2b8fef0c6584521d39eeb2c6129..beb2faae7437b482cff1f246165940fc9c8c3bd7 100644 (file)
@@ -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];
 }