Fix issues detected by static analysis tool 91/87391/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 7 Sep 2016 23:08:28 +0000 (08:08 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 7 Sep 2016 23:29:33 +0000 (08:29 +0900)
commit7c86906f1dd0b5b98e942529f8811b6057ec1997
treeda163cacf8eed64a4c51fbe5b1c63f0deab00fbc
parentd67a3fb1dcb9b6b592ac40a7ca3c6839557a9971
Fix issues detected by static analysis tool

after having been compared to NULL value at ise-stt-mode.cpp:216, pointer 'vd' is dereferenced at ise-stt-mode.cpp:232.

Return value of a function 'operator new' is dereferenced at ise-stt-mode.cpp:225 without checking, but it is usually checked for this function (12/14).

Change-Id: I58c3d768c1ceb74160bc0b29e9f1b65366c59f09
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/ise-stt-mode.cpp