mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 02:38:09 +09:00
sftp: Document how to free memory retruned by sftp_canonicalize_path()
Fixes T129 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -818,7 +818,9 @@ LIBSSH_API int sftp_fsync(sftp_file file);
|
|||||||
*
|
*
|
||||||
* @param path The path to be canonicalized.
|
* @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);
|
LIBSSH_API char *sftp_canonicalize_path(sftp_session sftp, const char *path);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user