Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #368 from muzzley/fix/canvasAdjustExternalMem

Readjusting the amount of allocated memory. Fixes #367
  • Loading branch information...
commit c864c222ff52ab526303b36509caa0a286b20c79 2 parents 285dc4f + d920c12
Nathan Rajlich TooTallNate authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/Canvas.cc
1  src/Canvas.cc
View
@@ -501,6 +501,7 @@ Canvas::~Canvas() {
break;
case CANVAS_TYPE_IMAGE:
cairo_surface_destroy(_surface);
+ V8::AdjustAmountOfExternalAllocatedMemory(-4 * width * height);
break;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.