summaryrefslogtreecommitdiff
path: root/include/ctables.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ctables.h')
-rw-r--r--include/ctables.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ctables.h b/include/ctables.h
index fa0d42d74..ba6773a4c 100644
--- a/include/ctables.h
+++ b/include/ctables.h
@@ -167,7 +167,10 @@ class CoreExport Command : public Extensible
/** Standard constructor gubbins
*/
- virtual ~Command() {}
+ virtual ~Command()
+ {
+ syntax.clear();
+ }
};
/** A hash of commands used by the core