[Bugfix][API-619][SMS]Fixing memory leaks

Change-Id: I7c043062219c4f48c7d075b6136d058ef112e880
2 files changed