Commit c150d033 authored by Cory Quammen's avatar Cory Quammen Committed by Kitware Robot

Merge topic 'analyze-reader-new-free-mismatch'

41e12ae0 vtkAnalyzeReader: fix mismatched new[]/delete
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: default avatarDavid E. DeMarle <dave.demarle@kitware.com>
Merge-request: !2878
parents 8ccd77c3 41e12ae0
Pipeline #123490 failed with stage
in 0 seconds
......@@ -56,7 +56,7 @@ vtkAnalyzeReader::~vtkAnalyzeReader()
}
if (this->analyzeHeaderUnsignedCharArray)
{
delete this->analyzeHeaderUnsignedCharArray;
delete[] this->analyzeHeaderUnsignedCharArray;
this->analyzeHeaderUnsignedCharArray = 0;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment