- Moved allocation to if block to make Coverity happy