1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Fix a braino memory leak.

Found by:	Pawel Jakub Dawidek <nick@garage.freebsd.pl>
This commit is contained in:
Poul-Henning Kamp 2003-10-22 20:28:46 +00:00
parent b0e30de9d8
commit d55b513f6e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121366

View File

@ -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);
}