Fixed mismatched delete call.

"delete" was used, instead of "delete []". This fixes that issue.

Change-Id: I42ecc2bfde615e3f0db354b92cc8a5f3fd3b4832
Fixing arrays being deleted using free() instead of delete.

vtkDistributedDataFilter allocated C arrays using "new[]" and then passed those on
to vtkDataArrayTemplate subclasses. vtkDataArrayTemplate, however, ended up
deleting those arrays using "free", since that's the default. Ensuring
vtkDistributedDataFilter passed in appropriate flags to
vtkDataArrayTemplate::SetArray() so that vtkDataArrayTemplate releases the
memory using the correct "delete[]" operator.

Change-Id: I7c133fb32193603e482eb73cdc7697b1e66aa8d4
Merge topic 'fix_memory_issues' into master

06287385 Fixing arrays being deleted using free() instead of delete.
a41887a6 Fixed mismatched delete call.