commit | a1ef4ffb005a83099e821078a0e698cfd2f1b6aa | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Mon Dec 28 09:12:12 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Dec 28 09:12:12 2020 +0000 |
tree | 6f5d0f8c05b4fe0aaaf3085b75d50c9e0d0b457e | |
parent | d797be33665e9a7202a787d5b239f2acb7068a8d [diff] | |
parent | 28aa649e54c201b3ca705a6de94eafa4c1f275ac [diff] |
Merge "minui: fix mem leakage issue" am: d694016206 am: ebfe03631c am: 28aa649e54 Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1535652 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ib3c93c18ae14762c7d8b5d644161a65b8e0513a7
diff --git a/minui/resources.cpp b/minui/resources.cpp index f635acd..d7b9277 100644 --- a/minui/resources.cpp +++ b/minui/resources.cpp
@@ -450,5 +450,5 @@ } void res_free_surface(GRSurface* surface) { - free(surface); + delete(surface); }