Memphiz/xbmc — comment on commit c6c3ce1198b512c737229079efd4be60cb3b2833
File: xbmc/filesystem/File.cpp line 436
By elupus:

If you are in the mood of cleaning this up some more :) ( won't pus it). Use a shared_ptr for the IFile and the CURL object.