mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix warning from valgrind when a failed entry is tested.
PR: kern/173008 Submitted by: Zhihao Yuan <lichray@gmail.com> Reviewed by: gabor Approved by: cperciva (implicit) MFC after: 1 week
This commit is contained in:
parent
f06f465db7
commit
49a8f2aa6c
1 changed files with 1 additions and 0 deletions
|
|
@ -82,6 +82,7 @@ __FBSDID("$FreeBSD$");
|
|||
if (np != NULL) { \
|
||||
np->name = strdup(n); \
|
||||
np->path = NULL; \
|
||||
np->catd = NLERR; \
|
||||
np->lang = (l == NULL) ? NULL : \
|
||||
strdup(l); \
|
||||
np->caterrno = e; \
|
||||
|
|
|
|||
Loading…
Reference in a new issue