From: Razvan Cojocaru <[email protected]> ext_key_input was freed there, its certificate counterpart was not. While here, pass mc to in_extra_reset() like the rest of the function.
Change-Id: I48d315a38a653aed4b33d3277433cb8a6596942d Signed-off-by: Razvan Cojocaru <[email protected]> Acked-by: Frank Lichtenheld <[email protected]> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2237 --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2237 This mail reflects revision 2 of this Change. Acked-by according to Gerrit (reflected above): Frank Lichtenheld <[email protected]> diff --git a/src/openvpn/manage.c b/src/openvpn/manage.c index 86c498e..a5b635d 100644 --- a/src/openvpn/manage.c +++ b/src/openvpn/manage.c @@ -2860,8 +2860,9 @@ event_timeout_clear(&mc->bytecount_update_interval); - in_extra_reset(&man->connection, IER_RESET); + in_extra_reset(mc, IER_RESET); buffer_list_free(mc->ext_key_input); + buffer_list_free(mc->ext_cert_input); man_connection_clear(mc); } _______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
