Free output bio, too
authorAlan T. DeKok <aland@freeradius.org>
Wed, 3 Sep 2014 15:02:28 +0000 (11:02 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 3 Sep 2014 15:02:28 +0000 (11:02 -0400)
src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c

index f1572a5..180fcac 100644 (file)
@@ -490,6 +490,7 @@ ocsp_end:
        free(port);
        free(path);
        BIO_free_all(cbio);
+       if (bio_out) BIO_free(bio_out);
        OCSP_BASICRESP_free(bresp);
 
 ocsp_skip: