* fix tiny memory leak; hashpos needs to be freed.
authorWilfried Göesgens <willi@citadel.org>
Tue, 13 Jan 2009 21:13:35 +0000 (21:13 +0000)
committerWilfried Göesgens <willi@citadel.org>
Tue, 13 Jan 2009 21:13:35 +0000 (21:13 +0000)
webcit/iconbar.c

index 016a3a07d0dce2135d7947208b163e617897927b..a0ccd28820507c587dfb492c1970198ef85e3639 100644 (file)
@@ -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();
 }