This month's Index
Subject: Re: [PATCH] add function libssh2_session_set_last_error
Re: [PATCH] add function libssh2_session_set_last_error
From: Peter Stuge <peter_at_stuge.se>
Date: Fri, 23 Oct 2015 13:43:13 +0200
Salvador Fandino wrote:
Please think about how and where allocated memory is being freed.
Try creating and destroying sessions in a loop - there is a leak.
Do you need to free this memory in other places besides that?
Is there a LIBSSH2_REALLOC?
Style: the function takes several parameters whose names start with err.