sync/cond_act_sync.yml2
branchsync
changeset 3722 0f31947b826d
parent 3609 548e7dd045e5
child 3754 7d9c7bc6f412
     1.1 --- a/sync/cond_act_sync.yml2	Sat May 18 21:01:32 2019 +0200
     1.2 +++ b/sync/cond_act_sync.yml2	Sat May 18 21:26:41 2019 +0200
     1.3 @@ -273,6 +273,15 @@
     1.4              }
     1.5          }
     1.6  
     1.7 +        free(partner->user_id);
     1.8 +        partner->user_id = strdup("#NV");
     1.9 +        assert(partner->user_id);
    1.10 +        if (!partner->user_id) {
    1.11 +            free_identity(me);
    1.12 +            free_identity(partner);
    1.13 +            return PEP_OUT_OF_MEMORY;
    1.14 +        }
    1.15 +
    1.16          status = session->notifyHandshake(me, partner, «$type»);
    1.17          if (status)
    1.18              return status;