Memory leak when applying profile to hdr raw files in filebrowser, Issue 2407

This commit is contained in:
Ingo 2014-06-04 23:15:24 +02:00
parent 6137a06959
commit 2fbf1be982

View File

@ -40,6 +40,9 @@ RawImage::~RawImage()
if( image )
free(image);
if(allocation){ delete [] allocation; allocation=NULL;}
if(float_raw_image)
delete [] float_raw_image;
if(data){ delete [] data; data=NULL;}
if(profile_data){ delete [] profile_data; profile_data=NULL;}
}