(Xp3Stream): dispose of segments enumerator.

This commit is contained in:
morkt 2016-02-17 11:49:48 +04:00
parent fc724ee4c7
commit b42a425b80

View File

@ -827,9 +827,11 @@ NextEntry:
{ {
if (!disposed) if (!disposed)
{ {
if (disposing && null != m_stream) if (disposing)
{ {
m_stream.Dispose(); if (null != m_stream)
m_stream.Dispose();
m_segment.Dispose();
} }
disposed = true; disposed = true;
base.Dispose (disposing); base.Dispose (disposing);