diff options
Diffstat (limited to 'src/archive')
-rw-r--r-- | src/archive/plugins/Iso9660ArchivePlugin.cxx | 5 |
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> |