Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
9ea06913
Commit
9ea06913
authored
Nov 13, 2011
by
Reinhard Tartler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Imported nxcompext-3.3.0-4.tar.gz
Summary: Imported nxcompext-3.3.0-4.tar.gz Keywords: Imported nxcompext-3.3.0-4.tar.gz into Git repository
parent
f2f6dab8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
CHANGELOG
nxcompext/CHANGELOG
+5
-0
Pgn.c
nxcompext/Pgn.c
+2
-1
No files found.
nxcompext/CHANGELOG
View file @
9ea06913
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
...
...
nxcompext/Pgn.c
View file @
9ea06913
...
...
@@ -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.
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment