From 06f898cc1240a29b293de0e97ad95a4fdc971254 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 30 Jul 2013 20:11:57 +0200 Subject: tag: convert to C++ --- src/MusicChunk.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/MusicChunk.cxx') 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 music_chunk::~music_chunk() { - if (tag != NULL) - tag_free(tag); + delete tag; } #ifndef NDEBUG -- cgit v1.2.3