Remove memory leaks

Change-Id: I4682b99dfef138cb0c748ed1d461e4eacfc42289
Fix some typo in the SEP 88 document

Change-Id: I17725f44eba0377e4cdc534cb3fe63dc93a1832d
Fix Build fail(Under Windows, calerf.c does not exist)

Change-Id: I0581a88c224b71905ba17108299eaea175e5747c
(cherry picked from commit f803def3122b741697dc48a75be0b9d5cd7ab7fe)