/[svn]/libgig/trunk/src/gig.cpp
ViewVC logotype

Diff of /libgig/trunk/src/gig.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3945 by schoenebeck, Fri Jun 18 15:46:44 2021 UTC revision 3946 by schoenebeck, Fri Jun 18 15:51:32 2021 UTC
# Line 6412  namespace { Line 6412  namespace {
6412          pSample->DeleteChunks();          pSample->DeleteChunks();
6413          delete pSample;          delete pSample;
6414    
         SampleList::iterator tmp = SamplesIterator;  
6415          // remove all references to the sample          // remove all references to the sample
6416          size_t iIns = 0;          size_t iIns = 0;
6417          for (Instrument* instrument = GetInstrument(iIns); instrument;          for (Instrument* instrument = GetInstrument(iIns); instrument;
# Line 6430  namespace { Line 6429  namespace {
6429                  }                  }
6430              }              }
6431          }          }
         SamplesIterator = tmp; // restore iterator  
6432      }      }
6433    
6434      void File::LoadSamples() {      void File::LoadSamples() {

Legend:
Removed from v.3945  
changed lines
  Added in v.3946

  ViewVC Help
Powered by ViewVC