# AttributeList Leaks (again)

**URL:** <https://forum.juce.com/t/attributelist-leaks-again/46087>\
**Category:** Audio Plugins\
**Created:** [May 19, 2021, 1:14pm UTC](https://forum.juce.com/t/attributelist-leaks-again/46087 "2021-05-19T13:14:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chkn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/chkn/32/3862_2.png) [@chkn](https://forum.juce.com/u/chkn)\
**Post date:** [May 19, 2021, 1:14pm UTC](https://forum.juce.com/t/attributelist-leaks-again/46087/1 "2021-05-19T13:14:59Z")

</div>

Lately I get this “AttributeList” leaks in connection with VST3 hosting again (Juce Plugin in Juce Host, Windows, latest tip develop)

A search revealed that this was already a problem in the past.

Can’t bisect right now, because of api-changes across different repositories, but I guess this was introduced in the last 1-2 months.

Edit: it does not seem to be a reliably reproducible problem

---

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [May 21, 2021, 5:43pm UTC](https://forum.juce.com/t/attributelist-leaks-again/46087/2 "2021-05-21T17:43:32Z")

</div>

Thanks for reporting. I think this was caused by our recent update of the VST3 SDK. The issue should be resolved by this patch:

> <https://github.com/juce-framework/JUCE/commit/2f04d6a846fa56f2fdbbc7ce3e3a790369da8ded>
>
> In older versions of the VST3SDK, hostContext is a raw pointer,
> in newer versio…ns it's a smart pointer. If we do manual
> refcounting with the smart pointer, we may cause leaks.
