]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/source.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / source.cc
index 9d978d4fae93d9b5e20e8b86fed9f6daa7b331ba..002768038c0069a8b33fd2f649dfc35c72655a24 100644 (file)
@@ -58,10 +58,7 @@ Sources::add (Source_file *sourcefile)
 
 Sources::~Sources ()
 {
-  for (vsize i = 0; i < sourcefiles_.size (); i++)
-    {
-      sourcefiles_[i]->unprotect ();
-    }
+  junk_pointers (sourcefiles_);
 }
 
 Source_file *