xbmc/xbmc — pull request #1185 by zewt (2012-07-19 04:38:46+00:00)
Title: Fix a minor possible memory leak.

If file.Read() throws, then temp wasn't freed. Fix by reading directly
into checksum, to avoid direct memory management in the first place.