Module: check_mk
Branch: master
Commit: 4104d7eb9f153305be1aa7c6bf6586129c8f22f5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4104d7eb9f1533…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sat Feb 19 16:49:06 2011 +0100
livestatus: fix possible memory leak
I am not sure how that return line in ~Query() came
there but it is obviously nonsense and introduces memory
leaks on Queries using stat or dummy columns.
---
.bugs/153 | 9 +++++++++
.bugs/154 | 8 ++++++++
livestatus/src/Query.cc | 2 --
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/.bugs/153 b/.bugs/153
new file mode 100644
index 0000000..bf29d84
--- /dev/null
+++ b/.bugs/153
@@ -0,0 +1,9 @@
+Title: .f12 files is shipped with agents
+Component: core
+Benefit: 1
+State: open
+Cost: 1
+Date: 2011-02-18 11:03:18
+Class: cleanup
+
+The setup seems to install the .f12 files into the agents directory.
diff --git a/.bugs/154 b/.bugs/154
new file mode 100644
index 0000000..3f2d123
--- /dev/null
+++ b/.bugs/154
@@ -0,0 +1,8 @@
+Title: wmic_process manpage misses ITEM section
+Component: checks
+Benefit: 1
+State: open
+Cost: 1
+Date: 2011-02-18 11:13:15
+Class: bug
+
diff --git a/livestatus/src/Query.cc b/livestatus/src/Query.cc
index fac868e..31ab448 100644
--- a/livestatus/src/Query.cc
+++ b/livestatus/src/Query.cc
@@ -150,8 +150,6 @@ Query::Query(InputBuffer *input, OutputBuffer *output, Table *table)
:
Query::~Query()
{
- return;
-
// delete dummy-columns
for (_columns_t::iterator it = _dummy_columns.begin();
it != _dummy_columns.end();