From ce87906fe0d027df0327d283b3423eaf1d3cdda5 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Mon, 7 Sep 2020 23:52:04 +0300 Subject: 13125 libc: unchecked function return 'nvfree' Reviewed by: Marco van Wieringen Approved by: Dan McDonald --- usr/src/lib/libc/port/gen/attrat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/src/lib/libc/port/gen/attrat.c') diff --git a/usr/src/lib/libc/port/gen/attrat.c b/usr/src/lib/libc/port/gen/attrat.c index 89163a3909..d7c7949175 100644 --- a/usr/src/lib/libc/port/gen/attrat.c +++ b/usr/src/lib/libc/port/gen/attrat.c @@ -310,7 +310,7 @@ setattrat(int basefd, xattr_view_t view, const char *name, nvlist_t *request) void libc_nvlist_free(nvlist_t *nvp) { - nvfree(nvp); + (void) nvfree(nvp); } int -- cgit v1.2.3