From 08830731c068d3571d2437245a017089bcee3a86 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Mon, 16 Apr 2012 13:38:27 -0500 Subject: [PATCH] Fix the operator list deallocation --- src/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.js b/src/api.js index 18644ebe6..f4c42f48c 100644 --- a/src/api.js +++ b/src/api.js @@ -305,7 +305,7 @@ var PDFPageProxy = (function PDFPageProxyClosure() { gfx.executeOperatorList(operatorList, startIdx, next, stepper); if (startIdx == length) { gfx.endDrawing(); - delete this.operatorList; + delete self.operatorList; stats.timeEnd('Rendering'); stats.timeEnd('Overall'); if (callback) callback();