Revert "Fix typo."

This reverts commit 432c8873f3f9fec1a04727c73774bcb1a090be2e.
Revert "Fix memory leaks related to get_asf_tmp_dir() and get_asf_share_dir()."

This reverts commit 99572766a791c0c157f503157094276b66e25566.