test/nvmf: free the allocated subsystem

Change-Id: I1a0977c626facaa739c8c0c26a302bcc0c1aeafe
Signed-off-by: Ziye Yang <ziye.yang@intel.com>
This commit is contained in:
Ziye Yang 2017-03-23 15:16:13 +08:00 committed by Daniel Verkamp
parent 774a544bd4
commit 532de4d9df

View File

@ -265,6 +265,7 @@ test_discovery_log(void)
offsetof(struct spdk_nvmf_discovery_log_page, entries[0]),
sizeof(*entry));
CU_ASSERT(entry->trtype == 42);
spdk_nvmf_delete_subsystem(subsystem);
}
int main(int argc, char **argv)