Index: ash/display/display_color_manager_chromeos.cc |
diff --git a/ash/display/display_color_manager_chromeos.cc b/ash/display/display_color_manager_chromeos.cc |
index 060ee622a743e0f4b275689c2f0e2ec04d09a6f5..ed29817afb7526c47d98224300c15081703a8ee4 100644 |
--- a/ash/display/display_color_manager_chromeos.cc |
+++ b/ash/display/display_color_manager_chromeos.cc |
@@ -45,6 +45,7 @@ bool ParseFile(const base::FilePath& path, |
qcms_profile_get_vcgt_channel_length(display_profile); |
if (!vcgt_channel_length) { |
LOG(WARNING) << "No vcgt table in ICC file: " << path.value(); |
+ qcms_profile_release(display_profile); |
return false; |
} |