Yes. The only difference to a data structure assigned to an instance-scope variable is that the variable you're storing its reference in is local. The data structure itself is still global and not reference counted. Therefore, it needs to be destroyed - in any case.