diff --git a/index.js b/index.js index 58a7e4f7..6d849a96 100755 --- a/index.js +++ b/index.js @@ -506,6 +506,8 @@ Sharp.prototype._sharp = function(callback) { }); } } + // A copy is taken of the Buffer so let V8 garbage collect ours + this.options.bufferIn = null; }; /*