Release the tag. Refs #8153.

- It appears I only call release() if the elementTag == 1. I should call it otherwise to. This will prevent the memory leak.
Merge branch 'feature/8153_cataloginfo_memory_leak' into develop