Hardening/leak in accoc update test

### Description
Fixed a few leaks in association discovery.