@@ -239,7 +239,9 @@ UBENCH_EX(simple, proxy_pool_with_os_memory_provider) {
239239 proxy_pool );
240240 }
241241
242+ fprintf (stderr , ">>> DEBUG 1-A umfPoolDestroy(proxy_pool)\n" );
242243 umfPoolDestroy (proxy_pool );
244+ fprintf (stderr , ">>> DEBUG 1-B umfPoolDestroy(proxy_pool)\n" );
243245 umfMemoryProviderDestroy (os_memory_provider );
244246 free (array );
245247}
@@ -322,7 +324,9 @@ UBENCH_EX(simple, disjoint_pool_with_os_memory_provider) {
322324 disjoint_pool );
323325 }
324326
327+ fprintf (stderr , ">>> DEBUG 2-A umfPoolDestroy(disjoint_pool)\n" );
325328 umfPoolDestroy (disjoint_pool );
329+ fprintf (stderr , ">>> DEBUG 2-B umfPoolDestroy(disjoint_pool)\n" );
326330 umfDisjointPoolParamsDestroy (disjoint_memory_pool_params );
327331 umfMemoryProviderDestroy (os_memory_provider );
328332 free (array );
@@ -369,7 +373,9 @@ UBENCH_EX(simple, jemalloc_pool_with_os_memory_provider) {
369373 jemalloc_pool );
370374 }
371375
376+ fprintf (stderr , ">>> DEBUG 3-A umfPoolDestroy(jemalloc_pool)\n" );
372377 umfPoolDestroy (jemalloc_pool );
378+ fprintf (stderr , ">>> DEBUG 3-B umfPoolDestroy(jemalloc_pool)\n" );
373379 umfMemoryProviderDestroy (os_memory_provider );
374380 free (array );
375381}
@@ -415,9 +421,16 @@ UBENCH_EX(simple, scalable_pool_with_os_memory_provider) {
415421 scalable_pool );
416422 }
417423
424+ fprintf (stderr , ">>> DEBUG 4-A umfPoolDestroy(scalable_pool)\n" );
418425 umfPoolDestroy (scalable_pool );
426+ fprintf (stderr , ">>> DEBUG 4-B umfPoolDestroy(scalable_pool)\n" );
427+ fprintf (stderr ,
428+ ">>> DEBUG 4-C umfMemoryProviderDestroy(os_memory_provider)\n" );
419429 umfMemoryProviderDestroy (os_memory_provider );
430+ fprintf (stderr ,
431+ ">>> DEBUG 4-D umfMemoryProviderDestroy(os_memory_provider)\n" );
420432 free (array );
433+ fprintf (stderr , ">>> DEBUG 4-E free()\n" );
421434}
422435#endif /* (defined UMF_POOL_SCALABLE_ENABLED) */
423436
@@ -610,7 +623,9 @@ UBENCH_EX(ipc, disjoint_pool_with_level_zero_provider) {
610623 umfPoolFree (pool , allocs [i ].ptr );
611624 }
612625
626+ fprintf (stderr , ">>> DEBUG 5-A umfPoolDestroy(pool)\n" );
613627 umfPoolDestroy (pool );
628+ fprintf (stderr , ">>> DEBUG 5-B umfPoolDestroy(pool)\n" );
614629
615630err_params_destroy :
616631 umfDisjointPoolParamsDestroy (disjoint_params );
0 commit comments