]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - gpgwww.c
cscvs to tla changeset 55
[onak.git] / gpgwww.c
index bb8a446cd4be840df0be7c8119ae56776478f3cc..c225b827c90e095176e4d473b0a1fec9d82d0cd7 100644 (file)
--- a/gpgwww.c
+++ b/gpgwww.c
@@ -60,10 +60,16 @@ int main(int argc, char *argv[])
        dofindpath(from, to, true);
        destroyhash();
        cleanupdb();
        dofindpath(from, to, true);
        destroyhash();
        cleanupdb();
+       cleanupconfig();
 
        puts("<HR>");
 
        puts("<HR>");
-       puts("Produced by gpgwww " VERSION ", part of onak. <A HREF=\"mailto:noodles-onak@earth.li\">Jonathan McDowell</A>");
+       puts("Produced by gpgwww " VERSION ", part of onak. "
+               "<A HREF=\"mailto:noodles-onak@earth.li\">"
+               "Jonathan McDowell</A>");
        end_html();
 
        end_html();
 
+       cleanupcgi(cgiparams);
+       cgiparams = NULL;
+
        return EXIT_SUCCESS;
 }
        return EXIT_SUCCESS;
 }