Make usage of new/delete and malloc/free consistent.

All buffers returned to the caller should be allocated with malloc,
since the caller assumes it's calling a C API.  Internally, stuff
allocated with new should be freed with delete, and so on.

Change-Id: Ie08d910b9f6ebee38dc39127310e695453d1256f
1 file changed
tree: d156583a7f9a3b0f93d198b69edc2e16e3c700dd
  1. keystore/
  2. keystore-engine/
  3. softkeymaster/