commit | 28aa649e54c201b3ca705a6de94eafa4c1f275ac | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Mon Dec 28 08:21:25 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Dec 28 08:21:25 2020 +0000 |
tree | faff249e90dc4bdf87c23a533c202c920241ab62 | |
parent | 51ee1b064a2772b72c685dd5d2b6d37fc78a687d [diff] | |
parent | ebfe03631c07181af75b53b7a1cc0959c732b577 [diff] |
Merge "minui: fix mem leakage issue" am: d694016206 am: ebfe03631c Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1535652 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I4aad1a4725067f54bbb29c97eb8bb0827bfd77b6
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); }