Skip to content

Commit e260cb8

Browse files
committed
Fix small memory leak in the memoryPoolWithCustomProvider test
The pool has not been destroyed. Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 74fe7d0 commit e260cb8

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)