test/iscsi: fix conf leak in target_node_ut

Change-Id: Iac2ba5dd033682e62d2e32a84e77bbf9585c5235
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2017-03-29 13:54:20 -07:00
parent df009d7323
commit f00d22bb29
2 changed files with 3 additions and 1 deletions

View File

@ -89,6 +89,8 @@ config_file_fail_cases(void)
CU_ASSERT(rc < 0);
section_index++;
}
spdk_conf_free(config);
}
int

View File

@ -45,7 +45,7 @@ $valgrind test/lib/scsi/scsi_nvme/scsi_nvme_ut
# TODO: fix valgrind warnings and add $valgrind to iSCSI tests
test/lib/iscsi/param/param_ut
test/lib/iscsi/target_node/target_node_ut test/lib/iscsi/target_node/target_node.conf
$valgrind test/lib/iscsi/target_node/target_node_ut test/lib/iscsi/target_node/target_node.conf
test/lib/iscsi/pdu/pdu
$valgrind test/lib/util/bit_array/bit_array_ut