From 9793f69a42c5fd8e5caa894170654d22eb48c7d7 Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Sun, 29 Nov 2015 20:13:26 +1000 Subject: [PATCH] * openvpn_plugin_close_v1 : free strdup()ed strings --- src/main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.c b/src/main.c index 28bbca5..42cb4e7 100644 --- a/src/main.c +++ b/src/main.c @@ -86,5 +86,11 @@ OPENVPN_EXPORT void openvpn_plugin_close_v1 (openvpn_plugin_handle_t handle) { oal_config_t *config = (oal_config_t *) handle; + free(config->bindurls); + free(config->binddn); + free(config->bindpass); + free(config->basedn); + free(config->userfilter); + free(config->error); free(config); }