diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2020-12-28 08:08:04 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-12-28 08:08:04 +0100 |
commit | d694016206ffa42343c7f49000bc355be57f5945 (patch) | |
tree | 4b3203e8c351b9125f7d7eb60d214a564ffb1f6c /minui/resources.cpp | |
parent | Merge "Do not call exit() immediately after serving sideload" (diff) | |
parent | minui: fix mem leakage issue (diff) | |
download | android_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.cpp | 2 |
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); } |