From 33c3ecaa8e5b34086689e88c0f8cd4d9ac247879 Mon Sep 17 00:00:00 2001 From: Julius Pfrommer Date: Wed, 13 Nov 2024 08:12:56 +0100 Subject: [PATCH] fix cert in ua-cli --- tools/ua-cli/ua.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/ua-cli/ua.c b/tools/ua-cli/ua.c index a8a99348ca9..1a4c8ea9147 100644 --- a/tools/ua-cli/ua.c +++ b/tools/ua-cli/ua.c @@ -585,6 +585,9 @@ main(int argc, char **argv) { usage(); /* Unknown service */ } + UA_ByteString_clear(&certificate); + UA_ByteString_clear(&privateKey); + UA_Client_delete(client); return return_value; }