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.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

Reply via email to