summaryrefslogtreecommitdiff
path: root/libs/ardour/region.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/region.cc')
-rw-r--r--libs/ardour/region.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc
index 6375527664..da3564552a 100644
--- a/libs/ardour/region.cc
+++ b/libs/ardour/region.cc
@@ -1338,10 +1338,8 @@ Region::set_live_state (const XMLNode& node, Change& what_changed, bool send)
/* note: derived classes set flags */
- if (_extra_xml) {
- delete _extra_xml;
- _extra_xml = 0;
- }
+ delete _extra_xml;
+ _extra_xml = 0;
for (XMLNodeConstIterator niter = nlist.begin(); niter != nlist.end(); ++niter) {