summaryrefslogtreecommitdiffstats
path: root/minui/resources.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-12-28 08:08:04 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-12-28 08:08:04 +0100
commitd694016206ffa42343c7f49000bc355be57f5945 (patch)
tree4b3203e8c351b9125f7d7eb60d214a564ffb1f6c /minui/resources.cpp
parentMerge "Do not call exit() immediately after serving sideload" (diff)
parentminui: fix mem leakage issue (diff)
downloadandroid_bootable_recovery-d694016206ffa42343c7f49000bc355be57f5945.tar
android_bootable_recovery-d694016206ffa42343c7f49000bc355be57f5945.tar.gz
android_bootable_recovery-d694016206ffa42343c7f49000bc355be57f5945.tar.bz2
android_bootable_recovery-d694016206ffa42343c7f49000bc355be57f5945.tar.lz
android_bootable_recovery-d694016206ffa42343c7f49000bc355be57f5945.tar.xz
android_bootable_recovery-d694016206ffa42343c7f49000bc355be57f5945.tar.zst
android_bootable_recovery-d694016206ffa42343c7f49000bc355be57f5945.zip
Diffstat (limited to 'minui/resources.cpp')
-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);
}