Skip to content

Commit 95e9ea7

Browse files
authored
Merge pull request #143 from ldorau/Fix_small_memory_leak_in_the_memoryPoolWithCustomProvider_test
Fix small memory leak in the memoryPoolWithCustomProvider test
2 parents b853a92 + e260cb8 commit 95e9ea7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/memoryPoolAPI.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ TEST_F(test, memoryPoolWithCustomProvider) {
105105
ASSERT_EQ(ret, UMF_RESULT_SUCCESS);
106106
ASSERT_NE(hPool, nullptr);
107107

108+
umfPoolDestroy(hPool);
108109
umfMemoryProviderDestroy(hProvider);
109110
}
110111

0 commit comments

Comments
 (0)