Fix memory leak.  Always free log_path. #1473