1
1

sftp: Document how to free memory retruned by sftp_canonicalize_path()

Fixes T129

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Этот коммит содержится в:
Andreas Schneider 2019-02-27 08:32:10 +01:00
родитель 8234df5dec
Коммит 7c444c09d7

Просмотреть файл

@ -818,7 +818,9 @@ LIBSSH_API int sftp_fsync(sftp_file file);
*
* @param path The path to be canonicalized.
*
* @return The canonicalize path, NULL on error.
* @return A pointer to the newly allocated canonicalized path,
* NULL on error. The caller needs to free the memory
* using ssh_string_free_char().
*/
LIBSSH_API char *sftp_canonicalize_path(sftp_session sftp, const char *path);