mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
hardlink table for two reasons: 1. If le->name is set to NULL, the structure le won't be inserted into the table; 2. Even if le somehow did manage to get into the table with le->name equal to NULL, we would die when we dereferenced le->null before we could get to the point of freeing the entry. Remove the unnecessary "if (le->name != NULL)" test and just free the pointer. Found by: Coverity Prevent |
||
|---|---|---|
| .. | ||
| test | ||
| bsdtar.1 | ||
| bsdtar.c | ||
| bsdtar.h | ||
| bsdtar_platform.h | ||
| config_freebsd.h | ||
| COPYING | ||
| getdate.y | ||
| Makefile | ||
| matching.c | ||
| read.c | ||
| siginfo.c | ||
| tree.c | ||
| tree.h | ||
| util.c | ||
| write.c | ||