Don't call free on talloc'ed channel bindings packet
authorKevin Wasserman <kevin.wasserman@painless-security.com>
Mon, 30 Jun 2014 15:41:32 +0000 (11:41 -0400)
committerKevin Wasserman <kevin.wasserman@painless-security.com>
Mon, 30 Jun 2014 15:41:32 +0000 (11:41 -0400)
src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c

index a3a2e4a..a4d3a57 100644 (file)
@@ -1196,9 +1196,6 @@ int eapttls_process(eap_handler_t *handler, tls_session_t *tls_session)
                }
                chbind_code = chbind_process(request, req);
 
-               /* free the chbind packet; we're done with it */
-               free(chbind);
-
                /* encapsulate response here */
                if (req->response) {
                        RDEBUG("sending chbind response");