Gert Doering has submitted this change. ( 
https://gerrit.openvpn.net/c/openvpn/+/2237?usp=email )

Change subject: manage: free ext_cert_input in man_connection_close()
......................................................................

manage: free ext_cert_input in man_connection_close()

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
Message-Id: <[email protected]>
URL: 
https://www.mail-archive.com/[email protected]/msg41824.html
Signed-off-by: Gert Doering <[email protected]>
---
M src/openvpn/manage.c
1 file changed, 2 insertions(+), 1 deletion(-)




diff --git a/src/openvpn/manage.c b/src/openvpn/manage.c
index ab814d5..112db4a 100644
--- a/src/openvpn/manage.c
+++ b/src/openvpn/manage.c
@@ -2841,8 +2841,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);
 }


--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2237?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I48d315a38a653aed4b33d3277433cb8a6596942d
Gerrit-Change-Number: 2237
Gerrit-PatchSet: 3
Gerrit-Owner: Răzvan Cojocaru <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Frank Lichtenheld <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to