summaryrefslogtreecommitdiff
path: root/librabbitmq
diff options
context:
space:
mode:
Diffstat (limited to 'librabbitmq')
-rw-r--r--librabbitmq/amqp_openssl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/librabbitmq/amqp_openssl.c b/librabbitmq/amqp_openssl.c
index f70d377..1233b31 100644
--- a/librabbitmq/amqp_openssl.c
+++ b/librabbitmq/amqp_openssl.c
@@ -297,6 +297,7 @@ error_out2:
self->sockfd = -1;
error_out1:
SSL_free(self->ssl);
+ self->ssl = NULL;
goto exit;
}