diff options
-rw-r--r-- | sys/geom/geom_fox.c | 2 |
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); } |