xbmc/xbmc — pull request #2984 by whaupt (2013-07-18 15:16:52+00:00)
Title: [WebServer] fixed potential memory leak

I just stumbled over following lines of code and could not figure out why CFile is dynamically allocated here.
But as Open() and Close() can throw an UncheckedException (I don't know when this happens either) this is a potential memory leak.
I know it may not be a big issue, just wanted to share.