Don't leak queue memory.