support for MPSS 3.2, removed memset after os_malloc