aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongUpdate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/SongUpdate.cxx')
-rw-r--r--src/SongUpdate.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SongUpdate.cxx b/src/SongUpdate.cxx
index aef484a6f..fe78e1e0f 100644
--- a/src/SongUpdate.cxx
+++ b/src/SongUpdate.cxx
@@ -100,7 +100,7 @@ Song::UpdateFile()
mtime = st.st_mtime;
delete tag;
- tag = tag_builder.Commit();
+ tag = tag_builder.CommitNew();
return true;
}
@@ -129,7 +129,7 @@ Song::UpdateFileInArchive()
return false;
delete tag;
- tag = tag_builder.Commit();
+ tag = tag_builder.CommitNew();
return true;
}
@@ -143,6 +143,6 @@ Song::UpdateStream()
return false;
delete tag;
- tag = tag_builder.Commit();
+ tag = tag_builder.CommitNew();
return true;
}