summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-12-28 08:44:45 +0100
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-12-28 08:44:45 +0100
commitebfe03631c07181af75b53b7a1cc0959c732b577 (patch)
tree4b3203e8c351b9125f7d7eb60d214a564ffb1f6c
parentMerge "Do not call exit() immediately after serving sideload" am: a8e394942e (diff)
parentMerge "minui: fix mem leakage issue" (diff)
downloadandroid_bootable_recovery-ebfe03631c07181af75b53b7a1cc0959c732b577.tar
android_bootable_recovery-ebfe03631c07181af75b53b7a1cc0959c732b577.tar.gz
android_bootable_recovery-ebfe03631c07181af75b53b7a1cc0959c732b577.tar.bz2
android_bootable_recovery-ebfe03631c07181af75b53b7a1cc0959c732b577.tar.lz
android_bootable_recovery-ebfe03631c07181af75b53b7a1cc0959c732b577.tar.xz
android_bootable_recovery-ebfe03631c07181af75b53b7a1cc0959c732b577.tar.zst
android_bootable_recovery-ebfe03631c07181af75b53b7a1cc0959c732b577.zip
-rw-r--r--minui/resources.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/minui/resources.cpp b/minui/resources.cpp
index f635acd1a..d7b927700 100644
--- a/minui/resources.cpp
+++ b/minui/resources.cpp
@@ -450,5 +450,5 @@ int res_create_localized_alpha_surface(const char* name,
}
void res_free_surface(GRSurface* surface) {
- free(surface);
+ delete(surface);
}