No need to free the softc, because it wasn't allocated.

This commit is contained in:
Lukas Ertl 2004-06-22 18:13:43 +00:00
parent 6768864478
commit 1b699be2e1

View File

@ -421,7 +421,6 @@ gv_drive_taste(struct g_class *mp, struct g_provider *pp, int flags __unused)
g_detach(cp);
g_destroy_consumer(cp);
g_free(gp->softc);
g_destroy_geom(gp);
return (NULL);
}