Browse Source

[2952] LeaseMgr pointer is now initialized properly.

Tomek Mrugalski 11 years ago
parent
commit
c276e3c22b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/lib/dhcpsrv/tests/test_utils.cc

+ 2 - 1
src/lib/dhcpsrv/tests/test_utils.cc

@@ -87,7 +87,8 @@ detailCompareLease(const Lease6Ptr& first, const Lease6Ptr& second) {
 }
 
 
-GenericLeaseMgrTest::GenericLeaseMgrTest() {
+GenericLeaseMgrTest::GenericLeaseMgrTest()
+    :lmptr_(NULL) {
     // Initialize address strings and IOAddresses
     for (int i = 0; ADDRESS4[i] != NULL; ++i) {
         string addr(ADDRESS4[i]);