Clean up dealloc in base share

[#43615081]
Fix circular ref on likeWithViewController:...

[#43615081]
Fix a circular ref in link dialog

[#43690911]
Leak fix

[Deliver #43615081]
Fix tests