]> git.ipfire.org Git - thirdparty/kea.git/commit
[2414] Get rid of memory leak
authorStephen Morris <stephen@isc.org>
Thu, 8 Nov 2012 20:09:10 +0000 (20:09 +0000)
committerStephen Morris <stephen@isc.org>
Thu, 8 Nov 2012 20:09:10 +0000 (20:09 +0000)
commitfed0360031161014bfdbc11d4e38adeaed697150
treedb18b5880a8ec53ef3ed56b3bed606124ed2cfdc
parent89886bb661e47985e05643ced62d0da4c14fdd8d
[2414] Get rid of memory leak

The allocation engine is now pointed to by a shared pointer.  Previously
it was pointed toi by a raw pointer and not deleted in the destructor.
Also, use an automatic variable to hold the DHCP6 server in the
unit tests.
src/bin/dhcp6/dhcp6_srv.cc
src/bin/dhcp6/dhcp6_srv.h
src/bin/dhcp6/tests/config_parser_unittest.cc