diff --git a/lib/ssh.c b/lib/ssh.c index ab9ddccc6..23755be74 100644 --- a/lib/ssh.c +++ b/lib/ssh.c @@ -370,7 +370,7 @@ static CURLcode ssh_getworkingpath(struct connectdata *conn, real path to work with */ { struct SessionHandle *data = conn->data; - char *real_path; + char *real_path = NULL; char *working_path; int working_path_len;