projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a532dec
)
* GetWhoKnowsHash (): fix leaks.
author
Wilfried Göesgens
<willi@citadel.org>
Tue, 10 Aug 2010 21:23:01 +0000
(21:23 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Tue, 10 Aug 2010 21:23:01 +0000
(21:23 +0000)
webcit/roomops.c
patch
|
blob
|
history
diff --git
a/webcit/roomops.c
b/webcit/roomops.c
index 9fe1dcc27b4bd28296577c466893b651f95af092..1db499d619e8a20eb19b8bbdd4ccba1f1055e9b2 100644
(file)
--- 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;
}