Skip to content

Commit 220b9bf

Browse files
Update system/uorb/listener.c
Co-authored-by: Alan C. Assis <acassis@gmail.com>
1 parent c62dd40 commit 220b9bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/uorb/listener.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ static void listener_flush_topic(FAR const struct listen_list_s *objlist,
559559
int ret;
560560

561561
fds = calloc(nb_objects, sizeof(struct pollfd));
562-
if (!fds)
562+
if (fds == NULL)
563563
{
564564
return;
565565
}

0 commit comments

Comments
 (0)