diff --git a/test/lib/iscsi/target_node/target_node_ut.c b/test/lib/iscsi/target_node/target_node_ut.c index ca6a96331f..7f09c4912c 100644 --- a/test/lib/iscsi/target_node/target_node_ut.c +++ b/test/lib/iscsi/target_node/target_node_ut.c @@ -89,6 +89,8 @@ config_file_fail_cases(void) CU_ASSERT(rc < 0); section_index++; } + + spdk_conf_free(config); } int diff --git a/unittest.sh b/unittest.sh index 927b8d0081..fe0a8db1ea 100755 --- a/unittest.sh +++ b/unittest.sh @@ -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