]> git.parisson.com Git - pdf.js.git/commitdiff
Fix the operator list deallocation
authorYury Delendik <ydelendik@mozilla.com>
Mon, 16 Apr 2012 18:38:27 +0000 (13:38 -0500)
committerYury Delendik <ydelendik@mozilla.com>
Mon, 16 Apr 2012 18:38:27 +0000 (13:38 -0500)
src/api.js

index 18644ebe6d59fbb6a22c2ba2a280dceac0f375ae..f4c42f48cbf2ddcfe242fb9c5f14f7bc61605cb5 100644 (file)
@@ -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();