cURL / Mailing Lists / curl-library / Single Mail


Re: Fwd: Segfault when downloading multiple sftp files in parallel

From: Daniel Stenberg <>
Date: Thu, 30 Jun 2016 11:40:51 +0200 (CEST)

On Thu, 30 Jun 2016, Gou Lingfeng wrote:

> Thanks. This solves the segfault bug.

Cool, I've now pushed it.

> But I wonder how those pointers get freed. Memory leak might be a problem if
> a multi handle is used to drive millions of easy handle.

I ran all the SFTP tests we have and none of them leaked anything. The memory
is already freed at the appropriate places, this change just removed the frees
from the wrong place.

List admin:
Received on 2016-06-30