Skip to content

Commit f570e7e

Browse files
authored
Merge pull request #1072 from lplewa/leak
Increase pool size of the "leak" base allocator in proxy lib
2 parents ab4c1e5 + 5b01c85 commit f570e7e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/proxy_lib/proxy_lib.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,9 @@ static inline void *ba_generic_realloc(umf_ba_linear_pool_t *pool, void *ptr,
303303
/*** The "LEAK" linear base allocator functions ******************************/
304304
/*****************************************************************************/
305305

306-
static void ba_leak_create(void) { Base_alloc_leak = umf_ba_linear_create(0); }
306+
static void ba_leak_create(void) {
307+
Base_alloc_leak = umf_ba_linear_create(4 * 1024 * 1024);
308+
}
307309

308310
// it does not implement destroy(), because we cannot destroy non-freed memory
309311

0 commit comments

Comments
 (0)