13
0

Fix memory leak.

git-svn-id: svn://localhost/ardour2/branches/3.0@6615 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2010-02-01 20:05:13 +00:00
parent 192e2593b6
commit d4789d9070

View File

@ -443,6 +443,7 @@ AudioSource::read_peaks_with_fpp (PeakData *peaks, nframes_t npeaks, sframes_t s
if ((_peakfile = ::open (peakpath.c_str(), O_RDONLY, 0664)) < 0) {
error << string_compose(_("AudioSource: cannot open peakpath (b) \"%1\" (%2)"), peakpath, strerror (errno)) << endmsg;
delete [] staging;
return 0;
}