fix a context object reference leak from upgrading a paletted image
authorTony Cook <tony@develop-help.com>
Wed, 9 Mar 2016 10:05:50 +0000 (21:05 +1100)
committerTony Cook <tony@develop-help.com>
Wed, 9 Mar 2016 10:05:50 +0000 (21:05 +1100)
commit9f37b04d0189a7d9f9fa7b7d58ce7ccb1d728ea1
treef2727367440370773871ba5a669c2741b46314fa
parenta139e7e96b79486f2ccf4a002bb4052e92723632
fix a context object reference leak from upgrading a paletted image

The internal process of upgrading a paletted image to a direct image,
done when a color not in the palette is written to the image, no
long leaks a reference count to the context object.
palimg.c