Skip to content

Commit f22aff2

Browse files
committed
Log pool pointer in umfFree()
1 parent 7727ad1 commit f22aff2

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)