fixed the crash after fota upgrade

Change-Id: I9f88aefca2a8ebd08a87a74a659c044ab3ece91f
PR753182 fota check invalid :clear the ActionStatus

Change-Id: I62089192221c34c03bfdf34bb1b4c31274df27d0
Modified for jrd memory leak.

Change-Id: I2f05220f986277476d925663d9777b75aa841da2