Print this page
6659 nvlist_free(NULL) is a no-op
*** 1064,1074 ****
if (rfs4_dss_paths != NULL) {
/*
* Before we lose the ptr, destroy the nvlist and pathnames
* array from the warm start before this one.
*/
- if (rfs4_dss_oldpaths)
nvlist_free(rfs4_dss_oldpaths);
rfs4_dss_oldpaths = rfs4_dss_paths;
}
/* unpack the buffer into a searchable nvlist */
--- 1064,1073 ----
*** 1463,1475 ****
/* reset the "first NFSv4 request" status */
rfs4_seen_first_compound = 0;
/* DSS: distributed stable storage */
- if (rfs4_dss_oldpaths)
nvlist_free(rfs4_dss_oldpaths);
- if (rfs4_dss_paths)
nvlist_free(rfs4_dss_paths);
rfs4_dss_paths = rfs4_dss_oldpaths = NULL;
}
typedef union {
--- 1462,1472 ----