summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/pbd/memento_command.h1
-rw-r--r--libs/pbd/stateful_diff_command.cc2
2 files changed, 0 insertions, 3 deletions
diff --git a/libs/pbd/pbd/memento_command.h b/libs/pbd/pbd/memento_command.h
index 22b2d4a42d..72d0228b6c 100644
--- a/libs/pbd/pbd/memento_command.h
+++ b/libs/pbd/pbd/memento_command.h
@@ -120,7 +120,6 @@ public:
}
~MementoCommand () {
- drop_references ();
delete before;
delete after;
delete _binder;
diff --git a/libs/pbd/stateful_diff_command.cc b/libs/pbd/stateful_diff_command.cc
index 6236d6b53e..48ea675179 100644
--- a/libs/pbd/stateful_diff_command.cc
+++ b/libs/pbd/stateful_diff_command.cc
@@ -68,8 +68,6 @@ StatefulDiffCommand::StatefulDiffCommand (boost::shared_ptr<StatefulDestructible
StatefulDiffCommand::~StatefulDiffCommand ()
{
- drop_references ();
-
delete _changes;
}