sdm: Fix issues related to smart pointer

Change-Id: I91bd086c3cb7e2fcdaf65c4e765886b0b39fcd42
3 files changed