summaryrefslogtreecommitdiffstats
path: root/src/pngenc.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-01-06 20:54:16 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-01-06 20:54:16 (GMT)
commitbe32faf9e70cecf7583687c1ce875071abd99005 (patch)
treeb008f56412d0734ea397eb4492ddd66c08677dff /src/pngenc.cpp
parentee8c5a59f9dce7e770d315f08af410b1ac5ab9c4 (diff)
downloadDoxygen-be32faf9e70cecf7583687c1ce875071abd99005.zip
Doxygen-be32faf9e70cecf7583687c1ce875071abd99005.tar.gz
Doxygen-be32faf9e70cecf7583687c1ce875071abd99005.tar.bz2
Release-1.3-rc2-20030106
Diffstat (limited to 'src/pngenc.cpp')
-rw-r--r--src/pngenc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pngenc.cpp b/src/pngenc.cpp
index ce36b95..18d7085 100644
--- a/src/pngenc.cpp
+++ b/src/pngenc.cpp
@@ -106,6 +106,7 @@ void PngEncoder::write(const char *name)
PNG_COLOR_TYPE_PALETTE, PNG_INTERLACE_NONE,
PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE
);
+ free(png_palette);
ti[0] = transIndex;
png_set_tRNS(png_ptr,info_ptr,ti,1,NULL);
rows = (unsigned char **) calloc(sizeof(unsigned char*),height);