Changelog update, fix for small leak introduced in 5c5d74a

This commit is contained in:
Lovell Fuller 2016-08-17 20:56:53 +01:00
parent 5c5d74a903
commit 7ada9dbd0d
3 changed files with 19 additions and 1 deletions

View File

@ -21,6 +21,10 @@ Requires libvips v8.3.3
[#511](https://github.com/lovell/sharp/pull/511) [#511](https://github.com/lovell/sharp/pull/511)
[@mhirsch](https://github.com/mhirsch) [@mhirsch](https://github.com/mhirsch)
* Add joinChannel and toColourspace/toColorspace operations.
[#513](https://github.com/lovell/sharp/pull/513)
[@mhirsch](https://github.com/mhirsch)
* Add support for raw pixel data with boolean and withOverlay operations. * Add support for raw pixel data with boolean and withOverlay operations.
[#516](https://github.com/lovell/sharp/pull/516) [#516](https://github.com/lovell/sharp/pull/516)
[@mhirsch](https://github.com/mhirsch) [@mhirsch](https://github.com/mhirsch)

View File

@ -918,6 +918,11 @@ class PipelineWorker : public Nan::AsyncWorker {
delete baton->input; delete baton->input;
delete baton->overlay; delete baton->overlay;
delete baton->boolean; delete baton->boolean;
for_each(baton->joinChannelIn.begin(), baton->joinChannelIn.end(),
[this](sharp::InputDescriptor *joinChannelIn) {
delete joinChannelIn;
}
);
delete baton; delete baton;
// Decrement processing task counter // Decrement processing task counter

View File

@ -29,7 +29,16 @@
... ...
fun:jpeg_finish_compress fun:jpeg_finish_compress
} }
{
value_jpeg_obj
Memcheck:Value8
obj:*/libjpeg.so*
}
{
cond_jpeg_obj
Memcheck:Cond
obj:*/libjpeg.so*
}
# libpng # libpng
{ {
cond_libpng_png_read_row cond_libpng_png_read_row