Coverity: 1229128 corrected.
Coverity: 711882, leaked storage bug.