]> code.citadel.org Git - citadel.git/blobdiff - webcit/messages.c
* several memoryleaks
[citadel.git] / webcit / messages.c
index 90340896472e3686b4485c4fbbe558f4a8594816..972da57ad998c99b397daadc1194201b0126160b 100644 (file)
@@ -1413,7 +1413,7 @@ void print_message(void) {
 
        hprintf("Content-type: text/html\r\n"
                "Server: %s\r\n"
-               "Connection: close\r\n"
+               "Connection: close\r\n",
                PACKAGE_STRING);
        begin_burst();
 
@@ -2475,7 +2475,8 @@ void readloop(char *oper)
                sortpref_value = NULL;
                sortpref_value = sortby;
        }
-       
+       FreeStrBuf(&sortby);
+
        FreeStrBuf(&sortpref_name);
        SortBy = StrToESort(sortpref_value);
        /** message board sort */