⬢ DragonFlyBSD Kernel Audit
DF-5141 / fix.diff
← back to finding ↓ download raw
diff --git a/sys/dev/raid/mlx/mlx_pci.c b/sys/dev/raid/mlx/mlx_pci.c
index 596cbf7a..b8b1c58f 100644
--- a/sys/dev/raid/mlx/mlx_pci.c
+++ b/sys/dev/raid/mlx/mlx_pci.c
@@ -201,7 +201,6 @@ mlx_pci_attach(device_t dev)
      */
     error = mlx_attach(sc);
     if (error != 0) {
-	mlx_free(sc);
 	return(error);
     }