Enable guarded-alloc when --debug-all is passed

This commit is contained in:
Campbell Barton 2015-09-02 13:39:55 +10:00
parent b3e1edf7f8
commit f6e0262a83
Notes: blender-bot 2023-02-14 09:21:21 +01:00
Referenced by issue #46012, Subdivision Modifier
Referenced by issue #45992, Subsurface modifier is broken
1 changed files with 1 additions and 1 deletions

View File

@ -1681,7 +1681,7 @@ int main(
int i;
for (i = 0; i < argc; i++) {
if (STREQ(argv[i], "--debug") || STREQ(argv[i], "-d") ||
STREQ(argv[i], "--debug-memory"))
STREQ(argv[i], "--debug-memory") || STREQ(argv[i], "--debug-all"))
{
printf("Switching to fully guarded memory allocator.\n");
MEM_use_guarded_allocator();