diff options
| author | Xin LI <delphij@FreeBSD.org> | 2018-03-19 05:49:26 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2018-03-19 05:49:26 +0000 |
| commit | 3e09403f77cd975e89855642442f1082e333aca7 (patch) | |
| tree | 1b83980c96a92f63594702b70e4b39955ed600fc /usr.sbin | |
| parent | c3bf6381941d3f000922a9f94ef1c31a0b3737d7 (diff) | |
Notes
Diffstat (limited to 'usr.sbin')
| -rw-r--r-- | usr.sbin/rpcbind/rpcbind.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/rpcbind/rpcbind.c b/usr.sbin/rpcbind/rpcbind.c index c9779fa9f34c..b0d79df20b16 100644 --- a/usr.sbin/rpcbind/rpcbind.c +++ b/usr.sbin/rpcbind/rpcbind.c @@ -565,6 +565,8 @@ init_transport(struct netconfig *nconf) pml->pml_map.pm_port = PMAPPORT; if (strcmp(nconf->nc_proto, NC_TCP) == 0) { if (tcptrans[0]) { + free(pml); + pml = NULL; syslog(LOG_ERR, "cannot have more than one TCP transport"); goto error; |
