diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2014-01-16 15:27:46 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-01-16 15:27:46 +0100 |
commit | 2fe59071b242c6104d765b87d99f94bbf377545d (patch) | |
tree | ce70bfbfc731fa1c14c6e69c40819e4c0d5a7c02 /src/sftp.c | |
parent | a7157b790714be3a5df112716bfd150ceb99ace7 (diff) | |
download | libssh-2fe59071b242c6104d765b87d99f94bbf377545d.tar.gz libssh-2fe59071b242c6104d765b87d99f94bbf377545d.tar.xz libssh-2fe59071b242c6104d765b87d99f94bbf377545d.zip |
src: Do not use deprecated functions.
Diffstat (limited to 'src/sftp.c')
-rw-r--r-- | src/sftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -998,7 +998,7 @@ static sftp_attributes sftp_parse_attr_4(sftp_session sftp, ssh_buffer buf, break; } attr->owner = ssh_string_to_char(owner); - string_free(owner); + ssh_string_free(owner); if (attr->owner == NULL) { break; } @@ -1008,7 +1008,7 @@ static sftp_attributes sftp_parse_attr_4(sftp_session sftp, ssh_buffer buf, break; } attr->group = ssh_string_to_char(group); - string_free(group); + ssh_string_free(group); if (attr->group == NULL) { break; } |