summaryrefslogtreecommitdiff
path: root/src/archive
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-02-03 19:59:29 +0100
committerMax Kellermann <max@musicpd.org>2018-02-03 19:59:29 +0100
commit250b6a3d521523617ea654d66a5156faa64f6f28 (patch)
tree8067999b9b4cf5d6f1027a3f1a328348f9ab4d96 /src/archive
parent73ddbcc8767e17304fbf8874c60ac58358b10072 (diff)
parent975a4ae8719673357d12d9566b4f0a5436b5f80f (diff)
Merge tag 'v0.20.16'
release v0.20.16
Diffstat (limited to 'src/archive')
-rw-r--r--src/archive/plugins/Iso9660ArchivePlugin.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/archive/plugins/Iso9660ArchivePlugin.cxx b/src/archive/plugins/Iso9660ArchivePlugin.cxx
index a5d8f4d94..971f30275 100644
--- a/src/archive/plugins/Iso9660ArchivePlugin.cxx
+++ b/src/archive/plugins/Iso9660ArchivePlugin.cxx
@@ -113,7 +113,12 @@ Iso9660ArchiveFile::Visit(char *path, size_t length, size_t capacity,
visitor.VisitArchiveEntry(path + 1);
}
}
+
+#if LIBCDIO_VERSION_NUM >= 20000
+ iso9660_filelist_free(entlist);
+#else
_cdio_list_free (entlist, true);
+#endif
}
static std::unique_ptr<ArchiveFile>