* free header vars from auth
[citadel.git] / webcit / auth.c
index 3704061f7f4c8ae61402aea8c1987de079848872..2e317b20dd2dec1a8ab55f6d9c2f6d208df99592 100644 (file)
@@ -977,7 +977,15 @@ void Header_HandleCookie(StrBuf *Line, ParsedHttpHdrs *hdr)
        hdr->got_auth = AUTH_COOKIE;
 }
 
-
+void 
+HttpDestroyModule_AUTH
+(ParsedHttpHdrs *httpreq)
+{
+       FreeStrBuf(&httpreq->c_username);
+       FreeStrBuf(&httpreq->c_password);
+       FreeStrBuf(&httpreq->c_roomname);
+       FreeStrBuf(&httpreq->c_language);
+}
 
 void 
 InitModule_AUTH