diff -ru mod_accounting-0.5.orig/mod_accounting.c mod_accounting-0.5/mod_accounting.c
--- mod_accounting-0.5.orig/mod_accounting.c    Sun Sep  8 08:17:22 2002
+++ mod_accounting-0.5/mod_accounting.c Tue Oct 19 18:00:45 2004
@@ -452,6 +452,7 @@
        }

        ( *DBDrivers[ cfg->DBDriver ].Query )( cfg, server, p, query );
+       ( *DBDrivers[ cfg->DBDriver ].Close )( cfg );

        cfg->Received = cfg->Sent = 0;
     }


