Print this page
6659 nvlist_free(NULL) is a no-op

@@ -6004,11 +6004,10 @@
                 fnvlist_add_uint64(config, ZPOOL_CONFIG_VERSION,
                     spa->spa_uberblock.ub_version);
 
         spa_config_exit(spa, SCL_STATE, FTAG);
 
-        if (spa->spa_config_syncing)
                 nvlist_free(spa->spa_config_syncing);
         spa->spa_config_syncing = config;
 
         spa_sync_nvlist(spa, spa->spa_config_object, config, tx);
 }