test/nvmf: free the allocated subsystem
Change-Id: I1a0977c626facaa739c8c0c26a302bcc0c1aeafe Signed-off-by: Ziye Yang <ziye.yang@intel.com>
This commit is contained in:
parent
774a544bd4
commit
532de4d9df
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user