Fix leak in CPU brand check

This commit is contained in:
Campbell Barton
2018-11-29 08:22:15 +11:00
parent ce84d64546
commit 67d77f47f0

View File

@@ -887,6 +887,7 @@ static bool check_is_threadripper2_alike_topology(void)
/* NOTE: Similarly to Threadripper we do not do model check. */
is_threadripper2 = true;
}
MEM_freeN(cpu_brand);
return is_threadripper2;
}