src/sync_impl.c
changeset 1482 dae999ee1a41
parent 1462 b93663bfc7c6
child 1494 27ded4922ae2
     1.1 --- a/src/sync_impl.c	Sun Dec 11 22:50:28 2016 +0100
     1.2 +++ b/src/sync_impl.c	Tue Dec 13 13:11:06 2016 +0100
     1.3 @@ -198,8 +198,7 @@
     1.4  // We need to check whether it belongs here or it's a bug.
     1.5  /* DYNAMIC_API */ void free_sync_msg(sync_msg_t *sync_msg)
     1.6  {
     1.7 -    assert(sync_msg);
     1.8 -    if (!(sync_msg))
     1.9 +    if (!sync_msg)
    1.10          return;
    1.11  
    1.12      if(sync_msg->is_a_message){