diff --git a/plugins/arclite/changelog b/plugins/arclite/changelog index 7ce991d4c0..d8a957c340 100644 --- a/plugins/arclite/changelog +++ b/plugins/arclite/changelog @@ -1,3 +1,7 @@ +drkns 15.03.2017 12:29:40 +0000 - build 252 + +1. 0003408: Arclite не закрывает файл после неуспешного распознавания формата + w17 05.03.2017 15:05:58 +0300 - build 251 1. 0003399: ошибка при модифицировании tgz (tar+gzip) архива -- уточнение b245 diff --git a/plugins/arclite/open.cpp b/plugins/arclite/open.cpp index 26e5310b44..71d6264979 100644 --- a/plugins/arclite/open.cpp +++ b/plugins/arclite/open.cpp @@ -522,7 +522,8 @@ void Archive::open(const OpenOptions& options, Archives& archives) { } else if (arc_entry->sig_pos >= skip_header) { archive->arc_info.set_size(arc_info.size() - arc_entry->sig_pos); - opened = archive->open(new ArchiveSubStream(stream, arc_entry->sig_pos), arc_entry->type); + ComObject substream(new ArchiveSubStream(stream, arc_entry->sig_pos)); + opened = archive->open(substream, arc_entry->type); if (opened) archive->base_stream = stream; } diff --git a/plugins/arclite/project.ini b/plugins/arclite/project.ini index 2b18ac4cf6..ee2029d338 100644 --- a/plugins/arclite/project.ini +++ b/plugins/arclite/project.ini @@ -2,4 +2,4 @@ MODULE = arclite VER_MAJOR = 3 VER_MINOR = 0 -VER_BUILD = 251 +VER_BUILD = 252