src/keymanagement.c
changeset 2500 b9e025865715
parent 2497 b3d58a60b753
child 2501 2e8bb7f39f04
     1.1 --- a/src/keymanagement.c	Mon Feb 12 12:45:27 2018 +0100
     1.2 +++ b/src/keymanagement.c	Mon Feb 12 23:02:13 2018 +0100
     1.3 @@ -396,6 +396,7 @@
     1.4          if (!EMPTYSTR(return_id->username) && 
     1.5              (strcasecmp(return_id->username, return_id->address) == 0)) {
     1.6              free(return_id->username);
     1.7 +            return_id->username = NULL;
     1.8          }
     1.9          if (EMPTYSTR(return_id->username)) {
    1.10              free(return_id->username);