]> git.parisson.com Git - pdf.js.git/commitdiff
fix bug with unref var
authorsbarman <sbarman@L3CWZ5T.(none)>
Thu, 7 Jul 2011 18:56:10 +0000 (11:56 -0700)
committersbarman <sbarman@L3CWZ5T.(none)>
Thu, 7 Jul 2011 18:56:10 +0000 (11:56 -0700)
pdf.js

diff --git a/pdf.js b/pdf.js
index c41031eccee28dd6da75bbacb6746b706e19bfe9..d41a98c273c628046948a1135833fdb77228a3b3 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -4719,6 +4719,7 @@ var IndexedCS = (function() {
       return this.base.getRgb(c);
     },
     getRgbBuffer: function indexcs_getRgbBuffer(input) {
+      var base = this.base;
       var numComps = base.numComps;
       var lookup = this.lookup;
       var length = input.length;
@@ -4732,7 +4733,7 @@ var IndexedCS = (function() {
         }
       }
 
-      return this.base.getRgbBuffer(baseBuf);
+      return base.getRgbBuffer(baseBuf);
     }
   };
   return constructor;