diff options
author | attilio <attilio@FreeBSD.org> | 2011-05-15 15:47:16 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2011-05-15 15:47:16 +0000 |
commit | d7d74971f13d3dd8b23b648b471dd209deef841f (patch) | |
tree | b8c92b94db6c0893eb3cc61ecd7bb49b265937a8 /sys/geom/eli | |
parent | e0bdfaa331e0646b286138c0a1ebde578634f499 (diff) | |
parent | 18b26669453903e860135019c9ef861b23c4df7b (diff) | |
download | FreeBSD-src-d7d74971f13d3dd8b23b648b471dd209deef841f.zip FreeBSD-src-d7d74971f13d3dd8b23b648b471dd209deef841f.tar.gz |
MFC
Diffstat (limited to 'sys/geom/eli')
-rw-r--r-- | sys/geom/eli/g_eli_key_cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/eli/g_eli_key_cache.c b/sys/geom/eli/g_eli_key_cache.c index 0a5a9ca..de4989b 100644 --- a/sys/geom/eli/g_eli_key_cache.c +++ b/sys/geom/eli/g_eli_key_cache.c @@ -124,6 +124,7 @@ g_eli_key_allocate(struct g_eli_softc *sc, uint64_t keyno) ekey = RB_FIND(g_eli_key_tree, &sc->sc_ekeys_tree, &keysearch); if (ekey != NULL) { bzero(key, sizeof(*key)); + free(key, M_ELI); key = ekey; TAILQ_REMOVE(&sc->sc_ekeys_queue, key, gek_next); } else { |