summaryrefslogtreecommitdiff
path: root/camera
diff options
context:
space:
mode:
authorManoj Gupta <manojgupta@google.com>2017-08-30 17:51:30 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-08-30 17:51:30 +0000
commit3dc3fb6a13341d4225f9688243bc9b6ac311f96a (patch)
treeb33206e23ab9da54f4a1c9757079b7cc7ec88653 /camera
parent371ea6af77e8c869166e712a625be3676222da26 (diff)
parent0e05e0e2e1d3d7431e08bb081b67584e52611a27 (diff)
Merge "Fix clang static analyzer warnings." am: 83de65b605 am: 8e1fcf2a79
am: 0e05e0e2e1 Change-Id: Ie59c8939613eb1e9f988f7a4c9f3b8e9052ee092
Diffstat (limited to 'camera')
-rw-r--r--camera/QCamera2/HAL3/QCamera3PostProc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/camera/QCamera2/HAL3/QCamera3PostProc.cpp b/camera/QCamera2/HAL3/QCamera3PostProc.cpp
index f890cd35..a11c789c 100644
--- a/camera/QCamera2/HAL3/QCamera3PostProc.cpp
+++ b/camera/QCamera2/HAL3/QCamera3PostProc.cpp
@@ -2363,6 +2363,7 @@ QCamera3Exif *QCamera3PostProcessor::getExifData(metadata_buffer_t *metadata,
hal_obj = (QCamera3HardwareInterface*)m_parent->mUserData;
} else {
LOGE("m_parent is NULL, Error");
+ delete exif;
return NULL;
}