base: Free null fix

Fix invalid memory access when passing NULL to mars_ea_free

This patch fixes invalid memorry access when calling mars_ea_free with
NULL pointer by checking if NULL or not.

Signed-off-by: Kazunori Asayama <asayama@sm.sony.co.jp>
Signed-off-by: Yuji Mano <yuji.mano@am.sony.com>
1 file changed