afc_file_tell: fixed leak of unnecessary buffer and removed condition check before free.