[BTLS]: Fix a ref-counting leak in X509ChainImplBtls. Fixes #45687. (#3811)
commitc9a67ffc5addabe74015f7d8f33977f4ab416075
authorMartin Baulig <martin.baulig@xamarin.com>
Tue, 25 Oct 2016 13:42:08 +0000 (25 15:42 +0200)
committerGitHub <noreply@github.com>
Tue, 25 Oct 2016 13:42:08 +0000 (25 15:42 +0200)
tree79e72175eae6dac81c5407f24ce1615c85ba1797
parent6ec4d74fb7edef5186758b9859c210c4dc5b9fb9
[BTLS]: Fix a ref-counting leak in X509ChainImplBtls.  Fixes #45687. (#3811)

* [BTLS]: Fix a ref-counting leak in X509ChainImplBtls.  Fixes #45687.

* Set 'untrusted = null' in Dispose().
mcs/class/System/Mono.Btls/X509ChainImplBtls.cs