Mirror of Ardour Source Code
Find a file
Robin Gareus 9e6435ff14
Fix mem-leak, Playlist/Region SessionHandleRef
When a playlist is deleted and drops_references(), any
undo/redo StatefulDiffCommand referncing playlist invoke
Destructible::drop_references() of the Command.

This leads to command_death(). As opposed to UndoTransaction::clear()
the StatefulDiffCommand was not destroyed.

In case of playlists StatefulDiffCommand::_changes contains
PBD::SequenceProperty<std::list<boost::shared_ptr<Region> > >
and shared pointer reference of the playlist regions were kept
indefinitely.

This fixes the following scenario:
New session, import an file, delete the created track,
clean up unused sources (delete unused playlists)[, quit].

A reference to the imported region was kept, because of the
playlist's undo command (insert region). Yet the source file
was deleted.


PS. Most playlist changes are accompanied by GUI zoom/selection
MementoCommands. Those are currently never directly dropped.
command_death() leaves those in place.
2020-02-25 21:45:07 +01:00
doc Cleanup cource tree: collect patches 2020-02-23 16:21:50 +01:00
gtk2_ardour Cleanup SourceList: remove unused copy/pasted region-list code 2020-02-25 16:17:00 +01:00
headless Fix cross-compile linking (arm-linux ld) 2020-02-14 00:20:45 +01:00
libs Fix mem-leak, Playlist/Region SessionHandleRef 2020-02-25 21:45:07 +01:00
msvc_extra_headers Minor changes needed to make the 'mp3 import' sources build with MSVC 2019-12-08 15:01:59 +00:00
MSVCardour3 Add/remove source(s) in our MSVC project (gtk2_ardour) 2020-02-18 11:21:38 +00:00
MSVCMixbus3 Initial changes needed for building Mixbus (with MSVC) as version 5 2018-09-10 07:14:59 +01:00
MSVCvst_scan Adapt our remaining MSVC projects for 'boost::atomic' (in case it later gets extended to the other libs) 2018-09-30 09:19:28 +01:00
nutemp additional changes to follow library name change from timecode -> temporal 2017-09-25 12:13:54 -04:00
session_utils Fix cross-compile linking (arm-linux ld) 2020-02-14 00:20:45 +01:00
share Update gitignore, clean up git status 2020-02-23 21:11:47 +01:00
tools Update boost-ptr debug patch for boost 1.67 2020-02-25 02:29:03 +01:00
us2400 switch remaining use of Common/ToggleMixerList to Mixer/ToggleMixerList 2019-03-18 10:58:02 -07:00
vst
.dir-locals.el
.gitattributes Add a Readme pertaining to GH release tarballs 2017-04-22 16:04:35 +02:00
.gitignore Update gitignore, clean up git status 2020-02-23 21:11:47 +01:00
ardour.1
ardour.1.es
ardour.1.fr
ardour.1.ru
COPYING
instant.xml.sae
msvc32-fixup.pl Initial changes needed for building Mixbus (with MSVC) as version 5 2018-09-10 07:14:59 +01:00
PACKAGER_README
README
README-GITHUB.txt Add a Readme pertaining to GH release tarballs 2017-04-22 16:04:35 +02:00
system_config Empty system_config (pre-seed XML nodes, use built-in settings) 2017-03-02 19:37:36 +01:00
testfile.flac
testfile.ogg
TRANSLATORS Update TRANSLATORS 2017-01-05 09:21:12 +00:00
waf Update waf to v2.0.19 2020-01-25 04:07:41 +01:00
wscript Update boost-ptr debug patch for boost 1.67 2020-02-25 02:29:03 +01:00

Please see the Ardour web site at http://ardour.org/ for all documentation..

For information on building ardour: 
      
     http://ardour.org/development.html