[mathic] 51/62: Fixed tiny memory leak in Geobucket and removed reference to Frobby in HelpAction.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Wed Apr 1 11:36:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository mathic.
commit 5e667f9b9f6a843bc2253947f5d6d0f7f570ca3f
Author: Bjarke Hammersholt Roune <bjarkehr.code at gmail.com>
Date: Fri Mar 8 10:45:17 2013 +0100
Fixed tiny memory leak in Geobucket and removed reference to Frobby in HelpAction.
---
src/mathic/GeoFront.h | 1 +
src/mathic/HelpAction.cpp | 8 +++-----
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/mathic/GeoFront.h b/src/mathic/GeoFront.h
index 68c92ba..62f895f 100755
--- a/src/mathic/GeoFront.h
+++ b/src/mathic/GeoFront.h
@@ -144,6 +144,7 @@ namespace mathic {
class GeoFront<C, Bucket, true> {
public:
GeoFront(const C& conf, size_t& entryCountRef);
+ ~GeoFront() {delete[] _bucketBegin;}
Bucket** begin() {return _bucketBegin;}
Bucket*const* begin() const {return _bucketBegin;}
diff --git a/src/mathic/HelpAction.cpp b/src/mathic/HelpAction.cpp
index 6a40d8a..2f3492d 100755
--- a/src/mathic/HelpAction.cpp
+++ b/src/mathic/HelpAction.cpp
@@ -18,11 +18,9 @@ namespace mathic {
const char* HelpAction::description() const {
return
- "Typing `frobby help' displays a list of the available actions.\n"
- "Typing `frobby help ACTION' displays a detailed description of that "
- "action.\n\n"
- "As an example, typing `frobby help irrdecom' will yield detailed "
- "information about the irrdecom action.";
+ "Giving the parameter 'help' displays a list of the available actions.\n"
+ "Giving the parameters 'help action' displays a detailed description of "
+ "that action.\n";
}
const char* HelpAction::shortDescription() const {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mathic.git
More information about the debian-science-commits
mailing list