[Fixed Bug] Fixed alloc-dealloc-mismatch (new vs. free) 40/73140/1 accepted/tizen/common/20160609.145218 accepted/tizen/ivi/20160609.091739 accepted/tizen/mobile/20160609.091959 accepted/tizen/tv/20160609.091611 accepted/tizen/wearable/20160609.091714 submit/tizen/20160609.040222
authorTae-Young Chung <ty83.chung@samsung.com>
Tue, 7 Jun 2016 01:13:50 +0000 (10:13 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Tue, 7 Jun 2016 01:13:57 +0000 (10:13 +0900)
commit31817a245cf354b7bb9c7a38abd55227f3e4e463
tree925b9b94474bd8e92fc3ee661af4e0a98c0cc977
parentc216d5649802c3eff04ab09c3a8456569df39ffc
[Fixed Bug] Fixed alloc-dealloc-mismatch (new vs. free)

[cause]
 - allocate memory using operator new[]
 - deallocate the memory using free()
 - it may cause memory corruption or undefined behaviors

[solve]
 - replace operator new[] with malloc()

Change-Id: Icc844a98fda28556b071e62ad2599bacba441974
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
mv_common/src/mv_common_c.cpp
packaging/capi-media-vision.spec