mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03: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,
|
sig,
|
||||||
channel->callbacks->userdata);
|
channel->callbacks->userdata);
|
||||||
}
|
}
|
||||||
|
SAFE_FREE(sig);
|
||||||
|
|
||||||
leave_function();
|
leave_function();
|
||||||
return SSH_PACKET_USED;
|
return SSH_PACKET_USED;
|
||||||
|
Reference in New Issue
Block a user