summaryrefslogtreecommitdiffstats
path: root/usr.sbin/faithd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/faithd')
-rw-r--r--usr.sbin/faithd/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/faithd/ftp.c b/usr.sbin/faithd/ftp.c
index c128fe0..19ad5ee 100644
--- a/usr.sbin/faithd/ftp.c
+++ b/usr.sbin/faithd/ftp.c
@@ -971,9 +971,9 @@ eprtparamfail:
return n;
}
- freeaddrinfo(res);
memcpy(&data6, res->ai_addr, res->ai_addrlen);
+ freeaddrinfo(res);
goto sendport;
} else if (strcmp(cmd, "LPSV") == 0 && !param) {
/*
OpenPOWER on IntegriCloud