[trunk] fix a warning about a recent commit (1104)

This commit is contained in:
Mickael Savinaud 2011-12-01 09:10:26 +00:00
parent d569430cc6
commit af9ad1580a
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,9 @@ What's New for OpenJPEG
! : changed
+ : added
December 1, 2011
* [mickael] fix a warning about a recent commit (1104)
November 30, 2011
* [jmalik] implement Large File support in the library :
- fix portability layer for windows (need WIN32)

View File

@ -6802,7 +6802,7 @@ opj_bool j2k_decode_tile ( opj_j2k_v2_t * p_j2k,
l_tcp = &(p_j2k->m_cp.tcps[p_tile_index]);
if (! l_tcp->m_data) {
j2k_tcp_destroy(&l_tcp);
j2k_tcp_destroy(l_tcp);
return OPJ_FALSE;
}