src/sync_actions.c
changeset 653 a9752fd8d54c
parent 652 ccc02be8a27d
child 654 0aa96447e38f
     1.1 --- a/src/sync_actions.c	Wed May 18 12:21:06 2016 +0200
     1.2 +++ b/src/sync_actions.c	Wed May 18 12:22:02 2016 +0200
     1.3 @@ -36,10 +36,6 @@
     1.4      if (status != PEP_STATUS_OK)
     1.5          goto error;
     1.6  
     1.7 -    INTEGER_t *sequence = (INTEGER_t *) calloc(1, sizeof(INTEGER_t));
     1.8 -    assert(sequence);
     1.9 -    if (!sequence)
    1.10 -        goto enomem;
    1.11      msg->header.sequence = seq;
    1.12  
    1.13      return status;
    1.14 @@ -80,10 +76,6 @@
    1.15      if (status != PEP_STATUS_OK)
    1.16          goto error;
    1.17  
    1.18 -    INTEGER_t *sequence = (INTEGER_t *) calloc(1, sizeof(INTEGER_t));
    1.19 -    assert(sequence);
    1.20 -    if (!sequence)
    1.21 -        goto enomem;
    1.22      msg->header.sequence = seq;
    1.23  
    1.24      return status;
    1.25 @@ -217,10 +209,6 @@
    1.26      if (status != PEP_STATUS_OK)
    1.27          goto error;
    1.28  
    1.29 -    INTEGER_t *sequence = (INTEGER_t *) calloc(1, sizeof(INTEGER_t));
    1.30 -    assert(sequence);
    1.31 -    if (!sequence)
    1.32 -        goto enomem;
    1.33      msg->header.sequence = seq;
    1.34  
    1.35      return status;