Merge landing of four patches
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 18 Feb 2010 15:26:55 -0500
changeset 38288 34586c92416ff68efe1689f363801b58ceb1af0f
parent 38287 70b1ccb14325c4c1c52347eec9968baab74a5a12 (current diff)
parent 38283 8e7fda69fda028d2b5128849b2091ac493b1ec13 (diff)
child 38289 4cabe72ad940311bc41165310afdad28078f2e31
push id11670
push usereakhgari@mozilla.com
push dateThu, 18 Feb 2010 20:27:20 +0000
treeherdermozilla-central@34586c92416f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9.3a2pre
Merge landing of four patches
--- a/gfx/qcms/transform.c
+++ b/gfx/qcms/transform.c
@@ -1158,18 +1158,18 @@ void qcms_profile_precache_output_transf
 			precache_release(profile->output_table_g);
 			profile->output_table_g = NULL;
 		}
 	}
 	if (!profile->output_table_b) {
 		profile->output_table_b = precache_create();
 		if (profile->output_table_b &&
 				!compute_precache(profile->blueTRC, profile->output_table_b->data)) {
-			precache_release(profile->output_table_g);
-			profile->output_table_g = NULL;
+			precache_release(profile->output_table_b);
+			profile->output_table_b = NULL;
 		}
 	}
 }
 
 #define NO_MEM_TRANSFORM NULL
 
 qcms_transform* qcms_transform_create(
 		qcms_profile *in, qcms_data_type in_type,