[1.5] remove one obvious memory leak from test functions

This commit is contained in:
Mickael Savinaud 2011-10-21 08:57:00 +00:00
parent 8d8841c84f
commit 6a1530e4b1
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,9 @@ What's New for OpenJPEG
! : changed
+ : added
October 21, 2011
* [mickael] remove one obvious memory leak from test functions
October 20, 2011
* [mickael] remove obvious memory leak from applications

View File

@ -596,6 +596,7 @@ int main(int argc, char **argv)
}
else
{
if (imageBase) opj_image_destroy(imageBase);
if (inParam.tabMSEvalues) free(inParam.tabMSEvalues);
if (inParam.tabPEAKvalues) free(inParam.tabPEAKvalues);
if (inParam.base_filename) free(inParam.base_filename);