Bug in shared_ptr fixed.

Change-Id: Ia3186e490ca7a0c5ed3cf8bd636311beac2dd588
Merge "Bug in shared_ptr fixed."