summaryrefslogtreecommitdiff
path: root/src/MusicChunk.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-07-30 20:11:57 +0200
committerMax Kellermann <max@duempel.org>2013-07-30 20:19:53 +0200
commit06f898cc1240a29b293de0e97ad95a4fdc971254 (patch)
tree001a6d3db039cdc03323f3bfddc13b94bde31ce4 /src/MusicChunk.cxx
parent6a9ab8bc0e2f5d34803513bb2d94d041a607a58c (diff)
tag: convert to C++
Diffstat (limited to 'src/MusicChunk.cxx')
-rw-r--r--src/MusicChunk.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/MusicChunk.cxx b/src/MusicChunk.cxx
index eefda24b5..55d2f7f30 100644
--- a/src/MusicChunk.cxx
+++ b/src/MusicChunk.cxx
@@ -20,14 +20,13 @@
#include "config.h"
#include "MusicChunk.hxx"
#include "audio_format.h"
-#include "tag.h"
+#include "Tag.hxx"
#include <assert.h>
music_chunk::~music_chunk()
{
- if (tag != NULL)
- tag_free(tag);
+ delete tag;
}
#ifndef NDEBUG