Fix leak in CPU brand check

This commit is contained in:
Campbell Barton
2018-11-29 08:22:15 +11:00
parent 7fa6f72084
commit 2089feeb1b

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;
}