[nginx] OCSP stapling: missing OCSP request free call.

Maxim Dounin mdounin at mdounin.ru
Wed Apr 30 17:00:13 UTC 2014


details:   http://hg.nginx.org/nginx/rev/48c97d83ab7f
branches:  
changeset: 5683:48c97d83ab7f
user:      Filipe da Silva <fdasilvayy at gmail.com>
date:      Tue Apr 29 22:22:38 2014 +0200
description:
OCSP stapling: missing OCSP request free call.

diffstat:

 src/event/ngx_event_openssl_stapling.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff --git a/src/event/ngx_event_openssl_stapling.c b/src/event/ngx_event_openssl_stapling.c
--- a/src/event/ngx_event_openssl_stapling.c
+++ b/src/event/ngx_event_openssl_stapling.c
@@ -1195,6 +1195,8 @@ ngx_ssl_ocsp_create_request(ngx_ssl_ocsp
     b->last = p;
     ctx->request = b;
 
+    OCSP_REQUEST_free(ocsp);
+
     return NGX_OK;
 
 failed:



More information about the nginx-devel mailing list