diff options
author | phk <phk@FreeBSD.org> | 2004-01-23 20:40:25 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-01-23 20:40:25 +0000 |
commit | cd37a854086191ba3b4fc2e379dc71b33a8ca0ec (patch) | |
tree | e935984ee9616f4bd38ac8d16e8a0fb15e71f9b1 /sys/geom | |
parent | 148390a29288a6d5f60bfc70bf9a61507db03658 (diff) | |
download | FreeBSD-src-cd37a854086191ba3b4fc2e379dc71b33a8ca0ec.zip FreeBSD-src-cd37a854086191ba3b4fc2e379dc71b33a8ca0ec.tar.gz |
Plug an insignificant memoryleak.
Submitted by: Pawel Jakub Dawidek <nick@garage.freebsd.pl>
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/geom_subr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index 2d11879..e6e9090 100644 --- a/sys/geom/geom_subr.c +++ b/sys/geom/geom_subr.c @@ -194,6 +194,9 @@ g_modevent(module_t mod, int type, void *data) } g_free(hh); break; + default: + g_free(hh); + break; } return (error); } |