mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
channels: Don't leak memory in channel_rcv_request callback.
Found by Coverity.
This commit is contained in:
@@ -730,6 +730,7 @@ SSH_PACKET_CALLBACK(channel_rcv_request) {
|
||||
sig,
|
||||
channel->callbacks->userdata);
|
||||
}
|
||||
SAFE_FREE(sig);
|
||||
|
||||
leave_function();
|
||||
return SSH_PACKET_USED;
|
||||
|
||||
Reference in New Issue
Block a user