Fixed memory leak and added null parameter handling 14/113314/1 accepted/tizen/common/20170208.154950 accepted/tizen/ivi/20170208.103702 accepted/tizen/mobile/20170208.103609 accepted/tizen/tv/20170208.103627 accepted/tizen/wearable/20170208.103642 submit/tizen/20170208.043824
authorTae-Young Chung <ty83.chung@samsung.com>
Tue, 7 Feb 2017 06:22:11 +0000 (15:22 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Tue, 7 Feb 2017 06:28:18 +0000 (15:28 +0900)
commit83b1a69ef373ad18e2fb4874b47baadbd7c0e343
tree949c6fe045cd9cfb133d857466ef618ea51c7cee
parent8e1ad8aaffc338fb178ce5e32ed5ad66bb555d69
Fixed memory leak and added null parameter handling

1. Fixed memory leak in mv_surveillance_set_event_trigger_roi() api
2. Fixed memory leak in mv_face_tracking_model_load() api
3. Fixed the issue of returning error when engine_cfg is null in mv_barcode_detect() api.

Change-Id: Id56f55b9421d64ff85bffff6f3502696be0315e1
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
mv_barcode/barcode_detector/src/mv_barcode_detect_open.cpp
mv_face/face/src/mv_face_open.cpp
packaging/capi-media-vision.spec
src/mv_surveillance.c