pki: Do not use deprecated string functions.

This commit is contained in:
Andreas Schneider
2014-01-17 09:29:24 +01:00
parent 2fe59071b2
commit 13eef19000

View File

@@ -1154,7 +1154,7 @@ ssh_string pki_publickey_to_blob(const ssh_key key)
}
rc = buffer_add_ssh_string(buffer, type_s);
string_free(type_s);
ssh_string_free(type_s);
if (rc < 0) {
ssh_buffer_free(buffer);
return NULL;