diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-29 00:22:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-29 00:22:15 +0300 |
commit | 67d77f47f0a462095f7fdaeee5b7966d74956cae (patch) | |
tree | 972a69a40a14757f1004f95a5442b3983fd24967 | |
parent | ce84d64546659bdef0f6b708803dee92a74493d8 (diff) |
Fix leak in CPU brand check
-rw-r--r-- | source/blender/blenlib/intern/threads.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/threads.c b/source/blender/blenlib/intern/threads.c index f67d621f4a1..f8c67705fd7 100644 --- a/source/blender/blenlib/intern/threads.c +++ b/source/blender/blenlib/intern/threads.c @@ -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; } |