]> granicus.if.org Git - openjpeg/commitdiff
[trunk] fix a warning about a recent commit (1104)
authorMickael Savinaud <savmickael@users.noreply.github.com>
Thu, 1 Dec 2011 09:10:26 +0000 (09:10 +0000)
committerMickael Savinaud <savmickael@users.noreply.github.com>
Thu, 1 Dec 2011 09:10:26 +0000 (09:10 +0000)
CHANGES
libopenjpeg/j2k.c

diff --git a/CHANGES b/CHANGES
index 0a018b1ac83dd2d09119af8efe9869862c04280a..d8e93471db30177d48091537e614ab2f7b59bfc0 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -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)
index a3c14c3badacefe7b6c359028c3dda359e4e3744..8795395f47d7ca258607b7566ce7e81d927deecb 100644 (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;
        }