Module: check_mk
Branch: master
Commit: 317e0f638579c0f00a47fdfee5ccb9aee5da131d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=317e0f638579c0…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Dec 10 13:24:16 2015 +0100
Fixed mismatched new[]/delete.
---
livestatus/src/Query.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/livestatus/src/Query.cc b/livestatus/src/Query.cc
index 57b5896..6c05e35 100644
--- a/livestatus/src/Query.cc
+++ b/livestatus/src/Query.cc
@@ -958,7 +958,7 @@ void Query::finish()
delete aggr[i]; // not needed any more
}
outputDatasetEnd();
- delete aggr;
+ delete[] aggr;
}
}