bionic: fix deleting property arrays in property benchmark

Use delete[] to delete arrays allocated with new []

Change-Id: Icc2a6b23df09049c008f7f1f50ed93a277174308
This commit is contained in:
Colin Cross 2013-06-18 13:08:28 -07:00
parent 0005b3544b
commit 7d06813d93
1 changed files with 4 additions and 4 deletions

View File

@ -62,10 +62,10 @@ struct LocalPropertyTestState {
delete names[i]; delete names[i];
delete values[i]; delete values[i];
} }
delete names; delete[] names;
delete name_lens; delete[] name_lens;
delete values; delete[] values;
delete value_lens; delete[] value_lens;
free(pa); free(pa);
} }
public: public: