aboutsummaryrefslogtreecommitdiff
path: root/src/sftp.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2014-01-16 15:27:46 +0100
committerAndreas Schneider <asn@cryptomilk.org>2014-01-16 15:27:46 +0100
commit2fe59071b242c6104d765b87d99f94bbf377545d (patch)
treece70bfbfc731fa1c14c6e69c40819e4c0d5a7c02 /src/sftp.c
parenta7157b790714be3a5df112716bfd150ceb99ace7 (diff)
downloadlibssh-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sftp.c b/src/sftp.c
index fceee6d9..3698895c 100644
--- a/src/sftp.c
+++ b/src/sftp.c
@@ -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;
}