Skip to content

Commit

Permalink
dmq_usrloc: remove useless condition
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Jul 27, 2017
1 parent 220f2e3 commit bda4f0a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/modules/dmq_usrloc/usrloc_sync.c
Expand Up @@ -198,8 +198,6 @@ void usrloc_get_all_ucontact(dmq_node_t* node)
goto done;
}
if (rval > 0) {
if (buf != NULL)
dmq_usrloc_free(buf);
len = rval * 2;
buf = dmq_usrloc_malloc(len);
if (buf == NULL) {
Expand Down

0 comments on commit bda4f0a

Please sign in to comment.