aboutsummaryrefslogtreecommitdiffhomepage
path: root/env.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-17 14:54:58 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-17 14:54:58 -0800
commit51da4856e2ff124d8d5ad7a4a6ca844c81825133 (patch)
tree801c4e75be2bd9469f5d98f480a20d2dce4021e3 /env.cpp
parent3b56c58f00c382ceb83eac78baede3a4b76c08a0 (diff)
Squash a leak in LRU caches
Diffstat (limited to 'env.cpp')
-rw-r--r--env.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/env.cpp b/env.cpp
index 6114d9c0..b90e3d6d 100644
--- a/env.cpp
+++ b/env.cpp
@@ -1005,7 +1005,7 @@ static int try_remove( env_node_t *n,
has_changed = 1;
}
- n->env.erase(result);
+ n->env.erase(result);
delete v;
return 1;
}