diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-29 00:22:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-29 04:52:39 +0300 |
commit | 2089feeb1b58f085e99e4722ebaa18a6abdb5aa9 (patch) | |
tree | 0f25fbe0cd55cd022971d776dd5389d0fae031ce /source | |
parent | 7fa6f72084b1364cddfbef4f06bbb244210d6967 (diff) |
Fix leak in CPU brand check
Diffstat (limited to 'source')
-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; } |