diff --git a/src/plugins/image_display/ImageDisplay.cc b/src/plugins/image_display/ImageDisplay.cc index 93a2ab9b6..0c736a139 100644 --- a/src/plugins/image_display/ImageDisplay.cc +++ b/src/plugins/image_display/ImageDisplay.cc @@ -212,6 +212,8 @@ void ImageDisplay::ProcessImage() image.setPixel(i, j, value); } } + + delete [] data; } this->dataPtr->provider->SetImage(image);