Don't free the context.

This commit is contained in:
Jonathan Schleifer 2011-04-28 20:02:19 +02:00
parent 0b7a6fdac0
commit 36b485e48f

View file

@ -73,7 +73,6 @@ static SSL_CTX *ctx;
- (void)dealloc - (void)dealloc
{ {
SSL_CTX *ctx_ = ctx;
SSL *ssl_ = ssl; SSL *ssl_ = ssl;
[privateKeyFile release]; [privateKeyFile release];
@ -83,8 +82,6 @@ static SSL_CTX *ctx;
if (ssl_ != NULL) if (ssl_ != NULL)
SSL_free(ssl_); SSL_free(ssl_);
if (ctx_ != NULL)
SSL_CTX_free(ctx_);
} }
- (void)connectToHost: (OFString*)host - (void)connectToHost: (OFString*)host