import the sourceLinked attribute

Change-Id: I74cdf7a09b2e6e3b3cd8f07b5d3495dcc66848c5
this code is redundant and leaks memory

Change-Id: Ib57f44c203ead68102d712ef29ab7362b0cea8db
we leak the RTTI information knowingly

Most likely show up since 9c9f0ea2c38929d133b0fe2faf616ecab17e07c9

Change-Id: I9d097c1098edc626db67171893411363e13d7941
use ptr_vector to prevent memory leak

Found by Lsan.

Change-Id: I727098ea3861bacf89209615e4b46e986a72c1ce