88c78b4 memory_utils: fix reallocation Signed-off-by: Nick Hainke <vincent@systemli.org> (cherry picked from commit 4a9eaecf5812561499c30f74095e450a9992a657)