Commit b337f6e1 authored by Patrick Daly's avatar Patrick Daly Committed by Suren Baghdasaryan
Browse files

ANDROID: mm/memory_hotplug: Fix error path handling



Correct a resource leak if arch_add_memory() returns failure.

Bug: 243477359
Change-Id: I1dce82a18c2242d7b6fd9fb1fe3a8b2ba67853de
Fixes: 42db6c2e ("ANDROID: mm/memory_hotplug: implement {add/remove}_memory_subsection")
Signed-off-by: default avatarPatrick Daly <quic_pdaly@quicinc.com>
parent 695e36b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment