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:
Jakub Jelen
2022-12-12 14:58:52 +01:00
committed by Andreas Schneider
parent 512ac7620b
commit ec33973319

View File

@@ -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()
*/