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
dbdae53685
commit
1c3512cb76
@ -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 New Issue
Block a user