bionic: fix deleting property arrays in property benchmark
Use delete[] to delete arrays allocated with new []
Change-Id: Icc2a6b23df09049c008f7f1f50ed93a277174308
diff --git a/tests/property_benchmark.cpp b/tests/property_benchmark.cpp
index 5acd06c..2c8e2a1 100644
--- a/tests/property_benchmark.cpp
+++ b/tests/property_benchmark.cpp
@@ -62,10 +62,10 @@
delete names[i];
delete values[i];
}
- delete names;
- delete name_lens;
- delete values;
- delete value_lens;
+ delete[] names;
+ delete[] name_lens;
+ delete[] values;
+ delete[] value_lens;
free(pa);
}
public: