X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fother.c;h=fe5f34cc745b9fcc58e17d05161f8e2beb8912ab;hb=a10396710e32659e82032b84a5468be52c3996d5;hp=b5b9290e33eb23c4ae79c2516dbaea05018b4bbd;hpb=ed2266424d1803bcfb7fc4dacde1936765b10c4a;p=debian%2Fdhcpd-pools.git diff --git a/src/other.c b/src/other.c index b5b9290..fe5f34c 100644 --- a/src/other.c +++ b/src/other.c @@ -94,6 +94,8 @@ void clean_up(void) free(config.dhcpdlease_file); free(config.output_file); free(ranges); + free(leases); + free(touches); free(shared_net_names); free(shared_networks); } @@ -109,6 +111,7 @@ void print_version(void) "This is free software: you are free to change and redistribute it.\n"); fprintf(stdout, "There is NO WARRANTY, to the extent permitted by law.\n"); + exit(EXIT_SUCCESS); } void usage(int status)