No need to free the softc, because it wasn't allocated.
This commit is contained in:
parent
6768864478
commit
1b699be2e1
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user