[X2Go-Commits] nx-libs.git - build-main (branch) updated: nxcompext/3.3.0-4

X2Go dev team git-admin at x2go.org
Fri Aug 30 16:22:19 CEST 2013


The branch, build-main has been updated
       via  9ea0691391b9dda7f205ec2cc5acf531d2b427d1 (commit)
      from  f2f6dab87b8a2c066c5eb242ca73b85f2796a5c0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 nxcompext/CHANGELOG |    5 +++++
 nxcompext/Pgn.c     |    3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/nxcompext/CHANGELOG b/nxcompext/CHANGELOG
index b128802..975ba49 100644
--- a/nxcompext/CHANGELOG
+++ b/nxcompext/CHANGELOG
@@ -1,5 +1,10 @@
 ChangeLog:
 
+nxcompext-3.3.0-4
+
+- Fixed TR03G02199. The color palette allocated for encoding an image
+  having 256 colors or less was not freed.
+
 nxcompext-3.3.0-3
 
 - Now setting the correct event serial number when sending collect
diff --git a/nxcompext/Pgn.c b/nxcompext/Pgn.c
index db14f51..d8fa919 100644
--- a/nxcompext/Pgn.c
+++ b/nxcompext/Pgn.c
@@ -548,13 +548,14 @@ char *PngCompressData(XImage *image, int *compressed_size)
   }
 
   png_write_end(png_ptr, NULL);
-  png_destroy_write_struct(&png_ptr, &info_ptr);
 
   if (color_type == PNG_COLOR_TYPE_PALETTE)
   {
     png_free(png_ptr, palette);
   }
 
+  png_destroy_write_struct(&png_ptr, &info_ptr);
+
   /*
    * Check the size of the resulting data.
    */


hooks/post-receive
-- 
nx-libs.git (NX (redistributed))

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "nx-libs.git" (NX (redistributed)).




More information about the x2go-commits mailing list