Commit b8b0b9c2 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰

[2320] Minor memory leak in Dhcpv4_srv test fixed.

parent e4f44ed5
......@@ -274,6 +274,7 @@ TEST_F(Dhcpv4SrvTest, basic) {
naked_srv = new NakedDhcpv4Srv(DHCP4_SERVER_PORT + 10000);
});
EXPECT_TRUE(naked_srv->getServerID());
delete naked_srv;
ASSERT_NO_THROW({
naked_srv = new NakedDhcpv4Srv(0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment