summaryrefslogtreecommitdiff
path: root/project2/variables.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/variables.cpp')
-rw-r--r--project2/variables.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/project2/variables.cpp b/project2/variables.cpp
index 1a16c4b..3c27d44 100644
--- a/project2/variables.cpp
+++ b/project2/variables.cpp
@@ -94,6 +94,15 @@ class VariableParent : public VariableImplDyn, public RowUser {
dep(d)
{
}
+ ~VariableParent()
+ {
+ if (row) {
+ row->finish(this);
+ if (dep) {
+ row->finish(dep);
+ }
+ }
+ }
const Glib::ustring & value() const
{
if (!cacheValid) {
@@ -227,3 +236,7 @@ VariableImpl::VariableImpl(const Glib::ustring & src) :
}
}
+VariableImpl::~VariableImpl()
+{
+}
+