Fix typo in file header
Fix possible double free of fpath