Print this page
5918 Memory leak when zfs_destroy_snaps_nvl fails

@@ -3413,10 +3413,11 @@
                         ret = zfs_standard_error(hdl, errno, errbuf);
                         break;
                 }
         }
 
+        nvlist_free(errlist);
         return (ret);
 }
 
 /*
  * Clones the given dataset.  The target must be of the same type as the source.