summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
Diffstat (limited to 'ash')
-rw-r--r--ash/display/display_color_manager_chromeos.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ash/display/display_color_manager_chromeos.cc b/ash/display/display_color_manager_chromeos.cc
index 1ee0a51..1ae844f 100644
--- a/ash/display/display_color_manager_chromeos.cc
+++ b/ash/display/display_color_manager_chromeos.cc
@@ -44,6 +44,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;
}