summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-06-30 09:25:35 -0500
committerJohn Wiegley <johnw@newartisans.com>2011-06-30 09:25:35 -0500
commitee7f5395e68f090a449f2ccbcaade3238df1d679 (patch)
tree8c5216fd712b3d6dc93cc50a8e0449e609853ab5
parent4336ec3e8bed1033efeaf84ed9ddf8d24183e45f (diff)
downloadledger-ee7f5395e68f090a449f2ccbcaade3238df1d679.tar.gz
ledger-ee7f5395e68f090a449f2ccbcaade3238df1d679.tar.bz2
ledger-ee7f5395e68f090a449f2ccbcaade3238df1d679.zip
Added two missing calls to clear()
-rw-r--r--src/filters.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/filters.h b/src/filters.h
index 2916857d..227245fb 100644
--- a/src/filters.h
+++ b/src/filters.h
@@ -97,6 +97,7 @@ public:
virtual void clear() {
posts_map.clear();
post_chain->clear();
+ item_handler<post_t>::clear();
}
};
@@ -365,6 +366,7 @@ public:
virtual void clear() {
temps.clear();
+ comms.clear();
last_xact = NULL;
item_handler<post_t>::clear();