summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/hatm/if_hatm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/hatm/if_hatm.c b/sys/dev/hatm/if_hatm.c
index 325e532..5344fe4 100644
--- a/sys/dev/hatm/if_hatm.c
+++ b/sys/dev/hatm/if_hatm.c
@@ -1325,6 +1325,7 @@ kenv_getuint(struct hatm_softc *sc, const char *var,
freeenv(val);
return (EINVAL);
}
+ freeenv(val);
if (bootverbose)
if_printf(sc->ifp, "%s=%u\n", full, u);
*ptr = u;
OpenPOWER on IntegriCloud