diff --git a/include/nuttx/queue.h b/include/nuttx/queue.h index f6e7c4af51f4b..4092ca88ef3be 100644 --- a/include/nuttx/queue.h +++ b/include/nuttx/queue.h @@ -188,6 +188,10 @@ { \ (q)->tail = NULL; \ } \ + else \ + { \ + tmp_node->flink = NULL; \ + } \ } \ else \ { \