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

@@ -1968,11 +1968,10 @@
                         clp->ap_status_time = (time_t)-1;
                 } /* end of while */
         }
 
         S_FREE(snap_data);
-        if (nvl)
                 nvlist_free(nvl);
 
         /*
          * if a cmdline specified ap_id doesn't match the known list of ap_ids
          * then report an error right away