diff options
author | emaste <emaste@FreeBSD.org> | 2009-11-30 18:26:46 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2009-11-30 18:26:46 +0000 |
commit | baeac65d39a4759c806837037131f5df9d12a603 (patch) | |
tree | 795da667caf3a767aee659c4517dc1b7f67fec2e /sys/dev/hatm | |
parent | 006653d006488eb173ed6569f47dde8bcbbb252c (diff) | |
download | FreeBSD-src-baeac65d39a4759c806837037131f5df9d12a603.zip FreeBSD-src-baeac65d39a4759c806837037131f5df9d12a603.tar.gz |
Free pointer from getenv() when done with it.
Submitted by: Phil Longstaff
Diffstat (limited to 'sys/dev/hatm')
-rw-r--r-- | sys/dev/hatm/if_hatm.c | 1 |
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; |