Subject: Re: blocking redone committed

Re: blocking redone committed

From: Yang Tse <yangsita_at_gmail.com>
Date: Tue, 31 Mar 2009 10:05:33 +0200

2009/3/30, Daniel Stenberg wrote:

> Is there anyone else around that have curl built with libssh2 support who can
> see this or other problems when running the test suite in curl?

Ok, I also get the same memory leaks on cygwin.

TESTFAIL: These test cases failed: 600 602 604 608 609 610 611 612 613
614 615 616 618 620 622 624 625 626 627 633 634 635 636 637 2004

And after some convoluted memory allocation logging I can confirm that
on this platform in all cases the leaked memory is the block that
you've already pointed out previously which is allocated at sftp.c:621
for session->sftpInit_sftp.

And except for the case of a failure inside sftp_init() I've been
unable to find any other location where this memory is actually
deallocated. I guess that this could probably be done in
sftp_shutdown() or session_free().

If you post a patch I'm glad to test it.

-- 
-=[Yang]=-
------------------------------------------------------------------------------
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2009-03-31