Fix memory leaks in OnDemandJob & ActionState 47/142647/2
authorMu-Woong Lee <muwoong.lee@samsung.com>
Mon, 7 Aug 2017 02:30:32 +0000 (11:30 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Mon, 7 Aug 2017 02:35:33 +0000 (02:35 +0000)
commit078c5bf6e14287d67729df3ac906f8847e328a36
tree5f7717878a0cbcbf537cd1b8bac4bfa097eebeaf
parent2b768d27f868dbd9baf63038e70d081d567abb04
Fix memory leaks in OnDemandJob & ActionState

- OnDemandJob::~OnDemandJob() deletes its JobTrigger objects.
- ActionState::__callDBusMethod() frees the GVariant parameter object.

Change-Id: I778199214222dfceb250226c2896155d36d451bf
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
src/server/state/ActionState.cpp
src/shared/JobAction.h
src/shared/JobInfo.cpp