Cleanup of properties in a custom attribute

Hi all, I have a question about destruction/clean up of custom attributes: if a custom attribute stores data in a property (e.g. this.data), will this property be destroyed after the custom attribute is detached from the DOM and unbound? I experience a problem with memory leaks and am not sure if the reference to the custom attribute is cleaned up so it will be garbage collected (and the property along with it).