[1.5] remove one obvious memory leak from test functions
This commit is contained in:
parent
8d8841c84f
commit
6a1530e4b1
3
CHANGES
3
CHANGES
|
@ -5,6 +5,9 @@ What's New for OpenJPEG
|
||||||
! : changed
|
! : changed
|
||||||
+ : added
|
+ : added
|
||||||
|
|
||||||
|
October 21, 2011
|
||||||
|
* [mickael] remove one obvious memory leak from test functions
|
||||||
|
|
||||||
October 20, 2011
|
October 20, 2011
|
||||||
* [mickael] remove obvious memory leak from applications
|
* [mickael] remove obvious memory leak from applications
|
||||||
|
|
||||||
|
|
|
@ -596,6 +596,7 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (imageBase) opj_image_destroy(imageBase);
|
||||||
if (inParam.tabMSEvalues) free(inParam.tabMSEvalues);
|
if (inParam.tabMSEvalues) free(inParam.tabMSEvalues);
|
||||||
if (inParam.tabPEAKvalues) free(inParam.tabPEAKvalues);
|
if (inParam.tabPEAKvalues) free(inParam.tabPEAKvalues);
|
||||||
if (inParam.base_filename) free(inParam.base_filename);
|
if (inParam.base_filename) free(inParam.base_filename);
|
||||||
|
|
Loading…
Reference in New Issue