From 2b42b9962d1772e89f45a9ff2f08c0587dcc10fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Tue, 10 Aug 2010 21:23:01 +0000 Subject: [PATCH] * GetWhoKnowsHash (): fix leaks. --- webcit/roomops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcit/roomops.c b/webcit/roomops.c index 9fe1dcc27..1db499d61 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -3441,7 +3441,6 @@ HashList *GetWhoKnowsHash(StrBuf *Target, WCTemplputParams *TP) serv_puts("WHOK"); Line = NewStrBuf(); - Token = NewStrBuf(); StrBuf_ServGetln(Line); if (GetServerStatus(Line, &State) == 1) { @@ -3470,6 +3469,7 @@ HashList *GetWhoKnowsHash(StrBuf *Target, WCTemplputParams *TP) _("Higher access is required to access this function."), -1, 0); + FreeStrBuf(&Line); return Whok; } -- 2.30.2