Fix memory leak, Exists/Stat allocated resource not released correctly.
Fix double append to m_curlAliasList bug by NULL check.