projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f880655
)
* fix memory leaks in java treelist
author
Wilfried Göesgens
<willi@citadel.org>
Tue, 16 Jun 2009 22:14:45 +0000
(22:14 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Tue, 16 Jun 2009 22:14:45 +0000
(22:14 +0000)
webcit/roomops.c
patch
|
blob
|
history
diff --git
a/webcit/roomops.c
b/webcit/roomops.c
index 4258ef51542452b22689f7833081640cae04a768..e54482b7946ca6eef24ac37b724b3aad00452476 100644
(file)
--- a/
webcit/roomops.c
+++ b/
webcit/roomops.c
@@
-3818,9
+3818,9
@@
HashList *GetRoomListHash(StrBuf *Target, WCTemplputParams *TP)
if (i==0) {
rmName = ChrPtr(buf2);
}
- Put(room, RPKEY(i), buf2,
NULL
);
+ Put(room, RPKEY(i), buf2,
HFreeStrBuf
);
}
- Put(rooms, rmName, strlen(rmName), room,
NULL
);
+ Put(rooms, rmName, strlen(rmName), room,
HDeleteHash
);
}
SortByHashKey(rooms, 1);
/*SortByPayload(rooms, SortRoomsByListOrder); */