safeguard sync
authorVolker Birk <vb@pep-project.org>
Thu, 28 Mar 2019 06:52:09 +0100
branchsync
changeset 34102bd32e4e9f4b
parent 3409 7f33fb2a7acb
child 3411 a7a41427e81a
safeguard
src/sync_api.c
     1.1 --- a/src/sync_api.c	Thu Mar 28 06:49:49 2019 +0100
     1.2 +++ b/src/sync_api.c	Thu Mar 28 06:52:09 2019 +0100
     1.3 @@ -76,6 +76,8 @@
     1.4      }
     1.5  
     1.6      free_identity_list(session->sync_state.common.own_identities);
     1.7 +    session->sync_state.common.own_identities = NULL;
     1.8 +
     1.9      if (identities_sharing) {
    1.10          session->sync_state.common.own_identities = identity_list_dup(identities_sharing);
    1.11          if (!session->sync_state.common.own_identities)