diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2015-04-27 05:44:09 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2015-04-27 05:44:09 +0000 |
| commit | fdf6290ea9c3b992cc5fb8e16d129717226dfdc5 (patch) | |
| tree | a8dc89658cde092c9e3a197adc802e41149fcb94 /sys/netpfil | |
| parent | 723af368a127b70458bd504689fd34390c295d10 (diff) | |
Notes
Diffstat (limited to 'sys/netpfil')
| -rw-r--r-- | sys/netpfil/ipfw/ip_fw_nat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netpfil/ipfw/ip_fw_nat.c b/sys/netpfil/ipfw/ip_fw_nat.c index 201be2f1e052..201b77a9c92d 100644 --- a/sys/netpfil/ipfw/ip_fw_nat.c +++ b/sys/netpfil/ipfw/ip_fw_nat.c @@ -242,6 +242,8 @@ add_redir_spool_cfg(char *buf, struct cfg_nat *ptr) } if (r->alink[0] == NULL) { printf("LibAliasRedirect* returned NULL\n"); + free(r->alink, M_IPFW); + free(r, M_IPFW); return (EINVAL); } /* LSNAT handling. */ |
