other: free backup ranges
[debian/dhcpd-pools.git] / src / other.c
index 7719c4e..2cf3599 100644 (file)
@@ -28,9 +28,9 @@
 extern void exit();
 extern char *malloc();
 #endif                         /* STDC_HEADERS */
-#include <errno.h>
 #include <err.h>
-#include <stdarg.h>
+#include <errno.h>
+#include <stddef.h>
 #ifdef  HAVE_STRING_H
 #include <string.h>
 #else
@@ -100,6 +100,7 @@ void clean_up(void)
        free(config.output_file);
        free(ranges);
        free(leases);
+       free(backups);
        free(touches);
        free(shared_networks);
 }