diff --git a/src/wh_server.c b/src/wh_server.c index b701e78f..cfce2943 100644 --- a/src/wh_server.c +++ b/src/wh_server.c @@ -85,6 +85,7 @@ int wh_Server_Cleanup(whServerContext* server) (void)wh_CommServer_Cleanup(server->comm); (void)wh_Nvm_Cleanup(server->nvm); + (void)wc_FreeRng(server->crypto->rng); (void)wolfCrypt_Cleanup(); memset(server, 0, sizeof(*server));