Browse Source

Merge branch 'server_config' of https://github.com/acplt/open62541 into server_config

Stasik0 10 years ago
parent
commit
78a0188c90
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/server/ua_services_session.c

+ 2 - 1
src/server/ua_services_session.c

@@ -42,7 +42,8 @@ void Service_CreateSession(UA_Server *server, UA_SecureChannel *channel,
 #undef RETURN
 #endif
 #define RETURN  UA_UserIdentityToken_deleteMembers(&token); \
-                UA_UserNameIdentityToken_deleteMembers(&username_token)
+                UA_UserNameIdentityToken_deleteMembers(&username_token); \
+                return
 void Service_ActivateSession(UA_Server *server,UA_SecureChannel *channel,
                              const UA_ActivateSessionRequest *request,
                              UA_ActivateSessionResponse *response) {