diff options
-rw-r--r-- | src/messages.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/messages.c b/src/messages.c index 02fdb5d9..5fcdd04e 100644 --- a/src/messages.c +++ b/src/messages.c @@ -1254,6 +1254,7 @@ SSH_PACKET_CALLBACK(ssh_packet_global_request){ msg = ssh_message_new(session); if (msg == NULL) { + ssh_string_free_char(request); return SSH_PACKET_NOT_USED; } msg->type = SSH_REQUEST_GLOBAL; |