Subject: [libssh2] Memory leak in payload

[libssh2] Memory leak in payload

From: Dan Fandrich <>
Date: Wed, 14 Mar 2007 15:07:33 -0700

I've spotted (thanks to valgrind) what looks like a memory leak in
libssh2. The pointer session->packet->payload (a.k.a. p->payload)
is allocated in libssh2_packet_read(), but it doesn't seem to be freed
anywhere in the non-error, non-compression path.

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
libssh2-devel mailing list
Received on 2007-03-14