Messages in this thread | | | Date | Mon, 10 Apr 2017 17:16:32 -0700 (PDT) | From | David Rientjes <> | Subject | Re: [PATCH 1/3] x86/numa_emulation: fix potential memory leak |
| |
On Tue, 11 Apr 2017, Wei Yang wrote:
> numa_emulation() needs to allocate a space for phys_dist[] temporarily, > while current code may miss to release this when dfl_phys_nid == > NUMA_NO_NODE. It is observed in code review instead of in a real case. > > This patch fixes this by re-order the code path. > > Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Acked-by: David Rientjes <rientjes@google.com>
| |