summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/NEWS2
-rw-r--r--src/filters.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/doc/NEWS b/doc/NEWS
index 39fce3d6..cb7a761c 100644
--- a/doc/NEWS
+++ b/doc/NEWS
@@ -54,6 +54,8 @@
- Fix possible stack overflow in date parsing routine (bug #1224,
CVE-2017-12482)
+- Fix use-after-free when using --gain (bug #541)
+
- Python: Removed double quotes from Unicode values.
- Python: Ensure that parse errors produce useful RuntimeErrors
diff --git a/src/filters.h b/src/filters.h
index c1dc2e04..cf053a24 100644
--- a/src/filters.h
+++ b/src/filters.h
@@ -604,6 +604,7 @@ public:
virtual ~changed_value_posts() {
TRACE_DTOR(changed_value_posts);
+ temps.clear();
handler.reset();
}