git.asbjorn.biz
/
debian
/
dhcpd-pools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
other: free backup ranges
[debian/dhcpd-pools.git]
/
src
/
other.c
diff --git
a/src/other.c
b/src/other.c
index
a16240b
..
2cf3599
100644
(file)
--- a/
src/other.c
+++ b/
src/other.c
@@
-28,9
+28,9
@@
extern void exit();
extern char *malloc();
#endif /* STDC_HEADERS */
extern void exit();
extern char *malloc();
#endif /* STDC_HEADERS */
-#include <errno.h>
#include <err.h>
#include <err.h>
-#include <stdarg.h>
+#include <errno.h>
+#include <stddef.h>
#ifdef HAVE_STRING_H
#include <string.h>
#else
#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(config.output_file);
free(ranges);
free(leases);
+ free(backups);
free(touches);
free(shared_networks);
}
free(touches);
free(shared_networks);
}
@@
-131,7
+132,7
@@
This is ISC dhcpd pools usage analyzer.\n\
fprintf(out, "\
-c, --config=FILE path to the dhcpd.conf file\n\
-l, --leases=FILE path to the dhcpd.leases file\n\
fprintf(out, "\
-c, --config=FILE path to the dhcpd.conf file\n\
-l, --leases=FILE path to the dhcpd.leases file\n\
- -f, --format=[thcxX] output format\n");
+ -f, --format=[thHcxX] output format\n");
fprintf(out, "\
t for text\n\
h for html table\n\
fprintf(out, "\
t for text\n\
h for html table\n\