no malloc_trim on windows

This commit is contained in:
Jean-Francois Dockes 2020-01-11 16:49:04 +01:00
parent c54786e22c
commit 1ffd54f834

View File

@ -52,7 +52,9 @@ public:
// malloc_trim() and mallopt() doc seems to be a bit
// misleading, there is probably a frag size under which
// free() does not try to malloc_trim() at all
#ifndef _WIN32
malloc_trim(0);
#endif
}
}