From 35d5f19e164d62bc217415a472a71b09825d0291 Mon Sep 17 00:00:00 2001 From: open-license-manager <rillf@maildrop.cc> Date: ćšć, 14 8æ 2014 16:21:03 +0800 Subject: [PATCH] debug mode --- test/library/Os_Linux_test.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/test/library/Os_Linux_test.cpp b/test/library/Os_Linux_test.cpp index 5d9bd90..01b25ff 100644 --- a/test/library/Os_Linux_test.cpp +++ b/test/library/Os_Linux_test.cpp @@ -21,6 +21,7 @@ BOOST_CHECK_GT(strlen(diskInfos[0].device), 0); BOOST_CHECK_GT(strlen(diskInfos[0].label), 0); BOOST_CHECK_GT(diskInfos[0].disk_sn[0], 0); + free(diskInfos); } BOOST_AUTO_TEST_CASE( read_network_adapters ) { @@ -45,5 +46,5 @@ BOOST_CHECK_NE(adapter_info[i].mac_address[0], 0); } } - + free(adapter_info); } -- Gitblit v1.9.1