xbmc/xbmc — pull request #4431 by cg110 (2014-03-15 11:35:45+00:00)
Title: Fix some coverity scan issues

I thought I'd take a look at the current coverity scan issues, and saw a few easy/low hanging ones to fix.

Mainly null protection, but one resource leak fix.

Would be quite nice to get a more up-to-date build scanned, I'll raise on the forums.