diff options
author | Marcin Siodelski <marcin@isc.org> | 2014-03-12 18:35:35 +0100 |
---|---|---|
committer | Marcin Siodelski <marcin@isc.org> | 2014-03-12 18:35:35 +0100 |
commit | 8ae73d0c674b4bd641d1323c447c19f9f255be0c (patch) | |
tree | da72a85a383c009ef35126b9f128be4a714ea6f8 /src/lib/dhcpsrv/lease.h | |
parent | [3232] Merge branch 'master' into trac3232 (diff) | |
download | kea-8ae73d0c674b4bd641d1323c447c19f9f255be0c.tar.xz kea-8ae73d0c674b4bd641d1323c447c19f9f255be0c.zip |
[3232] Initialize all values in Lease6 in the default constructor.
Failing to initialize all values causes valgrind errors.
Diffstat (limited to 'src/lib/dhcpsrv/lease.h')
-rw-r--r-- | src/lib/dhcpsrv/lease.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/dhcpsrv/lease.h b/src/lib/dhcpsrv/lease.h index c767142761..a8f4527963 100644 --- a/src/lib/dhcpsrv/lease.h +++ b/src/lib/dhcpsrv/lease.h @@ -348,10 +348,7 @@ struct Lease6 : public Lease { /// @brief Constructor /// /// Initialize fields that don't have a default constructor. - Lease6() : Lease(isc::asiolink::IOAddress("::"), 0, 0, 0, 0, 0, - false, false, ""), - type_(TYPE_NA) { - } + Lease6(); /// @brief Returns a reference to a vector representing a DUID. /// |