Further code review mark-ups - add free_msg API