You've already forked linux-packaging-mono
Imported Upstream version 6.4.0.154
Former-commit-id: d9008e108e6ce36e3e1c6643eb17a9257a81f110
This commit is contained in:
parent
354a7ffa75
commit
0f5eeea818
@ -111,7 +111,7 @@ namespace System.IO.Compression
|
||||
if (disposing)
|
||||
GC.SuppressFinalize (this);
|
||||
|
||||
native.Dispose (disposing);
|
||||
native?.Dispose (disposing);
|
||||
|
||||
if (disposing && !disposed) {
|
||||
disposed = true;
|
||||
@ -392,11 +392,11 @@ namespace System.IO.Compression
|
||||
|
||||
io_buffer = null;
|
||||
|
||||
if (z_stream != null) {
|
||||
if (z_stream != null && !z_stream.IsInvalid) {
|
||||
z_stream.Dispose();
|
||||
}
|
||||
|
||||
if (data.IsAllocated) {
|
||||
if (data != null && data.IsAllocated) {
|
||||
data.Free ();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user