Index: runtime/bin/platform_android.cc |
diff --git a/runtime/bin/platform_android.cc b/runtime/bin/platform_android.cc |
index c69f682db76cdb05b6bb7ec61f5114d1714e323c..206eca3227e9bd369b4145ae07992354d51de4a7 100644 |
--- a/runtime/bin/platform_android.cc |
+++ b/runtime/bin/platform_android.cc |
@@ -62,6 +62,11 @@ char** Platform::Environment(intptr_t* count) { |
} |
+void Platform::FreeEnvironment(char** env, intptr_t count) { |
+ delete[] env; |
+} |
+ |
+ |
char* Platform::StrError(int error_code) { |
static const int kBufferSize = 1024; |
char* error = static_cast<char*>(malloc(kBufferSize)); |