From f5b3481451587f4c4cf164f9dae5cf7cf798e8c3 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 23 Jan 2004 20:40:25 +0000 Subject: [PATCH] Plug an insignificant memoryleak. Submitted by: Pawel Jakub Dawidek --- sys/geom/geom_subr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index 2d118792690..e6e909013c0 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); }