Skip to content

Commit e240489

Browse files
committed
Fix: add missing umf*MemoryProviderParamsDestroy()
Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 95861f3 commit e240489

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/provider_devdax_memory.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ TEST_F(test, test_if_mapped_with_MAP_SYNC) {
165165
ASSERT_EQ(umf_result, UMF_RESULT_SUCCESS);
166166

167167
umfMemoryProviderDestroy(hProvider);
168+
umfDevDaxMemoryProviderParamsDestroy(params);
168169

169170
// fail test if the "sf" flag was not found
170171
ASSERT_EQ(flag_found, true);

test/provider_file_memory.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ TEST_F(test, test_if_mapped_with_MAP_SYNC) {
162162
ASSERT_EQ(umf_result, UMF_RESULT_SUCCESS);
163163

164164
umfMemoryProviderDestroy(hProvider);
165+
umfFileMemoryProviderParamsDestroy(params);
165166

166167
// fail test if the "sf" flag was not found
167168
ASSERT_EQ(flag_found, true);

0 commit comments

Comments
 (0)