Backed out changeset 527249758771 (bug 457215) to investigate a performance regression (bug 467102)
authorShawn Wilsher <me@shawnwilsher.com>
Fri, 28 Nov 2008 11:00:36 -0800
changeset 22088 3957258880e7d6f4a8a3c7b4aff5475666cbd3b1
parent 22075 52724975877131b7607539dfd73d25c5bf7c5247
child 22089 b2871b89d0ef9cc6a84cd0d15d0ad167007002fc
push id3796
push usersdwilsh@shawnwilsher.com
push dateFri, 28 Nov 2008 19:08:08 +0000
treeherdermozilla-central@51f48ff2b9ac [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs457215, 467102
milestone1.9.1b3pre
backs out52724975877131b7607539dfd73d25c5bf7c5247
Backed out changeset 527249758771 (bug 457215) to investigate a performance regression (bug 467102)
modules/lcms/src/cmsprecache.c
--- a/modules/lcms/src/cmsprecache.c
+++ b/modules/lcms/src/cmsprecache.c
@@ -185,22 +185,16 @@ LCMSBOOL LCMSEXPORT cmsPrecacheProfile(c
                      break;
 
               default:
                      // TODO: change non-critical asserts to CMS warnings
                      CMSASSERT(0); // Not implemented
                      break;
        }
 
-       // Free the gamma tables
-       if (hasGammaTables) {
-              CMSASSERT(GTables[0] != NULL);
-              cmsFreeGammaTriple(GTables);
-       }
-
        // Success
        return TRUE;
 }
 
 /*
  * Frees a Precache structure.
  *
  * This function is invoked by the refcounting mechanism when the refcount on