Index: runtime/bin/platform_linux.cc |
diff --git a/runtime/bin/platform_linux.cc b/runtime/bin/platform_linux.cc |
index e9ca3779503f8760257fb2ed1fa69ec5c80c61b6..2d7757627ff9e0a890502ef5edccaf55c05105bc 100644 |
--- a/runtime/bin/platform_linux.cc |
+++ b/runtime/bin/platform_linux.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)); |