mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09:00
Improve documentation by mentioning the free functions
Related: https://gitlab.com/libssh/libssh-mirror/-/issues/3 Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
6623856e08
commit
1d238694e7
@@ -80,6 +80,9 @@ static ssh_channel channel_from_msg(ssh_session session, ssh_buffer packet);
|
||||
* @param[in] session The ssh session to use.
|
||||
*
|
||||
* @return A pointer to a newly allocated channel, NULL on error.
|
||||
* The channel needs to be freed with ssh_channel_free().
|
||||
*
|
||||
* @see ssh_channel_free()
|
||||
*/
|
||||
ssh_channel ssh_channel_new(ssh_session session)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user