Fix memory leak 27/17227/1
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Mon, 15 Oct 2018 10:58:51 +0000 (19:58 +0900)
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Mon, 15 Oct 2018 11:08:33 +0000 (20:08 +0900)
commit9fabd6550e183283363b61f71092477342a357d1
tree23ec5fc75dda6df5f7c4a5cc1988087d1547d4fd
parent7526846697e4485bca995f01a130f5e34a40b690
Fix memory leak

According to afb_x2_req.h,
returned value of afb_req_x2_get_application_id must be freed by the caller.
So release it when the function returned not Null.

Bug-AGL: SPEC-1819

Change-Id: I4f23eeff6262171ac55776b4e214960dbff7ff45
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
src/main.cpp