Remove duplicate logging in malloc.

This commit is contained in:
David Goldblatt 2020-06-12 20:12:15 -07:00 committed by David Goldblatt
parent 4aea743279
commit 40672b0b78

View File

@ -2437,7 +2437,11 @@ malloc_default(size_t size) {
static_opts_t sopts; static_opts_t sopts;
dynamic_opts_t dopts; dynamic_opts_t dopts;
LOG("core.malloc.entry", "size: %zu", size); /*
* This variant has logging hook on exit but not on entry. It's callled
* only by je_malloc, below, which emits the entry one for us (and, if
* it calls us, does so only via tail call).
*/
static_opts_init(&sopts); static_opts_init(&sopts);
dynamic_opts_init(&dopts); dynamic_opts_init(&dopts);