diff --git a/tests/property_benchmark.cpp b/tests/property_benchmark.cpp index 5acd06c72..2c8e2a115 100644 --- a/tests/property_benchmark.cpp +++ b/tests/property_benchmark.cpp @@ -62,10 +62,10 @@ struct LocalPropertyTestState { 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: