Memory leak when applying profile to hdr raw files in filebrowser, Issue 2407
This commit is contained in:
parent
6137a06959
commit
2fbf1be982
@ -40,6 +40,9 @@ RawImage::~RawImage()
|
|||||||
if( image )
|
if( image )
|
||||||
free(image);
|
free(image);
|
||||||
if(allocation){ delete [] allocation; allocation=NULL;}
|
if(allocation){ delete [] allocation; allocation=NULL;}
|
||||||
|
if(float_raw_image)
|
||||||
|
delete [] float_raw_image;
|
||||||
|
|
||||||
if(data){ delete [] data; data=NULL;}
|
if(data){ delete [] data; data=NULL;}
|
||||||
if(profile_data){ delete [] profile_data; profile_data=NULL;}
|
if(profile_data){ delete [] profile_data; profile_data=NULL;}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user