diff --git a/src/Plugins/TgaImporter/TgaImporter.cpp b/src/Plugins/TgaImporter/TgaImporter.cpp index cfb3bc3bd..97c96e756 100644 --- a/src/Plugins/TgaImporter/TgaImporter.cpp +++ b/src/Plugins/TgaImporter/TgaImporter.cpp @@ -96,7 +96,8 @@ bool TgaImporter::open(istream& in, const string& name) { } void TgaImporter::close() { - delete _image; + /** @todo fixme: delete it only if it wasn't retrieved by user */ + //delete _image; _image = nullptr; }