Skip to content

Commit

Permalink
fix cert in ua-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfr committed Nov 28, 2024
1 parent 28b6bcb commit 33c3eca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/ua-cli/ua.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 33c3eca

Please sign in to comment.