mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
include: Document the need to free the returned buffer
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Norbert Pocs <npocs@redhat.com>
(cherry picked from commit a5631280a9)
This commit is contained in:
committed by
Andreas Schneider
parent
512ac7620b
commit
ec33973319
@@ -772,6 +772,8 @@ LIBSSH_API int sftp_symlink(sftp_session sftp, const char *target, const char *d
|
||||
* @param path Specifies the path name of the symlink to be read.
|
||||
*
|
||||
* @return The target of the link, NULL on error.
|
||||
* The caller needs to free the memory
|
||||
* using ssh_string_free_char().
|
||||
*
|
||||
* @see sftp_get_error()
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user