mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-06 15:51:41 +00:00
import of dnsmasq-2.52.tar.gz
This commit is contained in:
1 parent
1f15b81d61
commit
316e2730ac
43 files changed
+2694
-2033
No files matched your search
+5
-13
@@ -1,4 +1,4 @@
|
||||
/* dnsmasq is Copyright (c) 2000-2009 Simon Kelley
|
||||
/* dnsmasq is Copyright (c) 2000-2010 Simon Kelley
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -564,9 +564,7 @@ int do_script_run(time_t now)
|
||||
|
||||
free(lease->old_hostname);
|
||||
free(lease->clid);
|
||||
free(lease->vendorclass);
|
||||
free(lease->userclass);
|
||||
free(lease->supplied_hostname);
|
||||
free(lease->extradata);
|
||||
free(lease);
|
||||
|
||||
return 1;
|
||||
@@ -599,16 +597,10 @@ int do_script_run(time_t now)
|
||||
#endif
|
||||
lease->new = lease->changed = lease->aux_changed = 0;
|
||||
|
||||
/* these are used for the "add" call, then junked, since they're not in the database */
|
||||
free(lease->vendorclass);
|
||||
lease->vendorclass = NULL;
|
||||
/* this is used for the "add" call, then junked, since they're not in the database */
|
||||
free(lease->extradata);
|
||||
lease->extradata = NULL;
|
||||
|
||||
free(lease->userclass);
|
||||
lease->userclass = NULL;
|
||||
|
||||
free(lease->supplied_hostname);
|
||||
lease->supplied_hostname = NULL;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user