commit | b740c118fe2c40c85d59af18606c9a9a8256fed2 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Mon Oct 19 12:32:23 2015 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Oct 19 12:32:23 2015 -0700 |
tree | 5d18246aaa5624ed90a515e3cc731d7d26377959 | |
parent | c00836841b12a0868037de8b39cc2c96017bc705 [diff] | |
parent | 9b99074fe242d580f72afeacd78483290f9cb2c1 [diff] |
Merge "sdm: Fix memory leaks." into dev-1.0
diff --git a/sdm/libs/core/fb/hw_hdmi.cpp b/sdm/libs/core/fb/hw_hdmi.cpp index 58c5f5c..be00464 100644 --- a/sdm/libs/core/fb/hw_hdmi.cpp +++ b/sdm/libs/core/fb/hw_hdmi.cpp
@@ -147,7 +147,7 @@ DisplayError HWHDMI::Deinit() { hdmi_mode_count_ = 0; if (supported_video_modes_) { - delete supported_video_modes_; + delete[] supported_video_modes_; } return HWDevice::Deinit();