private void Dispose(bool disposing) { if (Cdict == IntPtr.Zero) { return; } ExternMethods.ZSTD_freeCDict(Cdict); Cdict = IntPtr.Zero; }
// Token: 0x06000008 RID: 8 RVA: 0x0000212B File Offset: 0x0000032B private void Dispose(bool disposing) { if (this.disposed) { return; } if (this.Cdict != IntPtr.Zero) { ExternMethods.ZSTD_freeCDict(this.Cdict); } this.disposed = true; }
private void Dispose(bool disposing) { if (disposed) { return; } disposed = true; if (cdict != IntPtr.Zero) { ExternMethods.ZSTD_freeCDict(cdict); } ExternMethods.ZSTD_freeCCtx(cctx); if (disposing) { GC.SuppressFinalize(this); } }