mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Fix memory leak.
Approved by: pjd (mentor)
This commit is contained in:
parent
1acd888ff5
commit
963bc7a03f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283158
@ -838,6 +838,7 @@ nvlist_xunpack(const void *buf, size_t size, const int *fds, size_t nfds,
|
||||
if (nvl->nvl_parent == NULL)
|
||||
goto failed;
|
||||
nvl = nvpair_nvlist(nvl->nvl_parent);
|
||||
nvpair_free_structure(nvp);
|
||||
continue;
|
||||
default:
|
||||
PJDLOG_ABORT("Invalid type (%d).", nvpair_type(nvp));
|
||||
|
Loading…
Reference in New Issue
Block a user