aboutsummaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/options.c b/src/options.c
index 44b1a888..e715c09d 100644
--- a/src/options.c
+++ b/src/options.c
@@ -93,12 +93,6 @@ int ssh_options_copy(ssh_session src, ssh_session *dest) {
if (src->opts.identity) {
struct ssh_iterator *it;
- new->opts.identity = ssh_list_new();
- if (new->opts.identity == NULL) {
- ssh_free(new);
- return -1;
- }
-
it = ssh_list_get_iterator(src->opts.identity);
while (it) {
char *id;