[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] examples: fix memory leak in samplesshd
[Thread Prev] | [Thread Next]
- Subject: [PATCH] examples: fix memory leak in samplesshd
- From: Luka Perkov <luka.perkov@xxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 10 Feb 2014 02:37:53 +0000
- To: libssh@xxxxxxxxxx
- Cc: Luka Perkov <luka.perkov@xxxxxxxxxx>
Signed-off-by: Luka Perkov <luka.perkov@xxxxxxxxxx> --- examples/samplesshd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/samplesshd.c b/examples/samplesshd.c index f9e0dc8..ac0411f 100644 --- a/examples/samplesshd.c +++ b/examples/samplesshd.c @@ -273,6 +273,7 @@ int main(int argc, char **argv){ // if(!strcmp(ssh_message_channel_request_subsystem(message),"sftp")){ sftp=1; ssh_message_channel_request_reply_success(message); + ssh_message_free(message); break; // } } -- 1.8.5.3
Archive administrator: postmaster@lists.cynapses.org