svn commit: r324832 - stable/11/sys/contrib/libnv
Mariusz Zaborski
oshogbo at FreeBSD.org
Sat Oct 21 19:36:23 UTC 2017
Author: oshogbo
Date: Sat Oct 21 19:36:22 2017
New Revision: 324832
URL: https://svnweb.freebsd.org/changeset/base/324832
Log:
MFC r323856:
Free 'value' only once we are done freeing all individual
Submitted by: pjd@
Found by: scan-build
Sponsored by: Wheel Systems
Modified:
stable/11/sys/contrib/libnv/nvpair.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/contrib/libnv/nvpair.c
==============================================================================
--- stable/11/sys/contrib/libnv/nvpair.c Sat Oct 21 19:34:54 2017 (r324831)
+++ stable/11/sys/contrib/libnv/nvpair.c Sat Oct 21 19:36:22 2017 (r324832)
@@ -1727,8 +1727,8 @@ fail:
nvlist_get_pararr(value[ii], NULL) != NULL) {
nvlist_destroy(value[ii]);
}
- nv_free(value);
}
+ nv_free(value);
ERRNO_RESTORE();
} else {
for (ii = 0; ii < nitems; ii++)
More information about the svn-src-stable-11
mailing list