If this sets tags to something, presumably that's an allocated value - that you surely leak !