While reviewing tedu@'s libressl config cleanup diffs I noticed we're
not explicitly freeing ressl_config in ftp(1).
Ok?
Index: fetch.c
===================================================================
RCS file: /work/cvsroot/src/usr.bin/ftp/fetch.c,v
retrieving revision 1.129
diff -p -u -r1.129 fetch.c
--- fetch.c 25 Aug 2014 15:36:00 -0000 1.129
+++ fetch.c 12 Sep 2014 03:56:34 -0000
@@ -978,6 +978,7 @@ cleanup_url_get:
#ifndef SMALL
if (ssl != NULL) {
ressl_close(ssl);
+ ressl_config_free(ressl_config);
ressl_free(ssl);
}
free(full_host);