Browse Source

removing a possible memleak, relates to #481

Stasik0 9 years ago
parent
commit
6f9514e361
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/client/ua_client.c

+ 0 - 1
src/client/ua_client.c

@@ -204,7 +204,6 @@ static UA_StatusCode SecureChannelHandshake(UA_Client *client, UA_Boolean renew)
         UA_LOG_DEBUG(client->logger, UA_LOGCATEGORY_SECURECHANNEL, "Requesting to open a SecureChannel");
     }
 
-    UA_ByteString_init(&client->channel.clientNonce);
     UA_ByteString_copy(&client->channel.clientNonce, &opnSecRq.clientNonce);
     opnSecRq.securityMode = UA_MESSAGESECURITYMODE_NONE;