diff --git a/benchmarks/uuid_v4_benchmark.cpp b/benchmarks/uuid_v4_benchmark.cpp index e65853a..6463e7b 100644 --- a/benchmarks/uuid_v4_benchmark.cpp +++ b/benchmarks/uuid_v4_benchmark.cpp @@ -92,7 +92,7 @@ static void UUIDPrettyCharArray(benchmark::State& state) { benchmark::ClobberMemory(); LOOP_END } - delete pretty; + delete[] pretty; } BENCHMARK(UUIDPrettyCharArray);