HTTP free buffers handled by http_server_t
[pazpar2-moved-to-github.git] / src / pazpar2.c
index 71e7d2b..88b549d 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of Pazpar2.
-   Copyright (C) 2006-2009 Index Data
+   Copyright (C) 2006-2010 Index Data
 
 Pazpar2 is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -43,6 +43,8 @@ void child_handler(void *data)
     config_start_databases(config);
 
     pazpar2_event_loop();
+
+    config_destroy(config);
 }
 
 static void show_version(void)