projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50ea7dc
)
* fix tiny memory leak; hashpos needs to be freed.
author
Wilfried Göesgens
<willi@citadel.org>
Tue, 13 Jan 2009 21:13:35 +0000
(21:13 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Tue, 13 Jan 2009 21:13:35 +0000
(21:13 +0000)
webcit/iconbar.c
patch
|
blob
|
history
diff --git
a/webcit/iconbar.c
b/webcit/iconbar.c
index 016a3a07d0dce2135d7947208b163e617897927b..a0ccd28820507c587dfb492c1970198ef85e3639 100644
(file)
--- a/
webcit/iconbar.c
+++ b/
webcit/iconbar.c
@@
-54,12
+54,13
@@
void doUserIconStylesheet(void) {
if (value == 0
&& strncasecmp("ib_displayas",key,12)
&& strncasecmp("ib_logoff", key, 9)) {
- // Don't shoot me for this
+ /* Don't shoot me for this */
wprintf("#%s { display: none !important; }\r\n",key);
} else if (!strncasecmp("ib_users",key, 8) && value == 2) {
wprintf("#online_users { display: block; !important } \r\n");
}
}
+ DeleteHashPos(&pos);
end_burst();
}