ServerDownloadFile: Fix potential memory leaks.
ServerDownloadFile: Fix potential memory leaks.

VBChunguk/thcrap,thpatch/thcrap,thpatch/thcrap,VBChunguk/thcrap,thpatch/thcrap,thpatch/thcrap,thpatch/thcrap,VBChunguk/thcrap