mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 23:32:52 -04:00
- nvlist_append_nvlist_array() makes a copy of the input nvlist, so the
pattern of nvlist_append_nvlist_array(... cfline(...)) would leak
memory and descriptors. Pass the entire config nvlist to cfline()
instead since this is needed for a future change.
- In parse_action(), free the linked list returned by getaddrinfo().
- Remove some checks at the beginning of close_filed(). For some log
types we'll always have f->f_file == -1, in which case we wouldn't
release other resources, such as forwarding sockets.
- After converting a filed to an nvlist, free the filed resources.
Fixes:
|
||
|---|---|---|
| .. | ||
| tests | ||
| ftp.conf | ||
| lpr.conf | ||
| Makefile | ||
| Makefile.depend | ||
| pathnames.h | ||
| ppp.conf | ||
| syslog.conf | ||
| syslog.conf.5 | ||
| syslogd.8 | ||
| syslogd.c | ||
| syslogd.h | ||
| syslogd_cap.c | ||
| syslogd_cap.h | ||
| syslogd_cap_config.c | ||
| syslogd_cap_log.c | ||