summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_fox.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/geom_fox.c')
-rw-r--r--sys/geom/geom_fox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_fox.c b/sys/geom/geom_fox.c
index 295840f..1bc7dbe 100644
--- a/sys/geom/geom_fox.c
+++ b/sys/geom/geom_fox.c
@@ -190,8 +190,8 @@ g_fox_orphan(struct g_consumer *cp)
}
mtx_destroy(&sc->lock);
- gp->softc = NULL;
g_free(gp->softc);
+ gp->softc = NULL;
g_wither_geom(gp, ENXIO);
}
OpenPOWER on IntegriCloud