Skip to content

Commit 28c1c97

Browse files
authored
Merge pull request #1182 from ldorau/Log_pool_pointer_in_umfFree
Log pool pointer in `umfFree()`
2 parents 5fefad3 + f22aff2 commit 28c1c97

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/memory_pool.c

+2
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ void umfPoolDestroy(umf_memory_pool_handle_t hPool) {
111111
umf_result_t umfFree(void *ptr) {
112112
umf_memory_pool_handle_t hPool = umfPoolByPtr(ptr);
113113
if (hPool) {
114+
LOG_DEBUG("calling umfPoolFree(pool=%p, ptr=%p) ...", (void *)hPool,
115+
ptr);
114116
return umfPoolFree(hPool, ptr);
115117
}
116118
return UMF_RESULT_SUCCESS;

0 commit comments

Comments
 (0)