diff options
Diffstat (limited to 'nuttx/sched/mq_msgfree.c')
-rw-r--r-- | nuttx/sched/mq_msgfree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/mq_msgfree.c b/nuttx/sched/mq_msgfree.c index 91322fbf3..61b0e1055 100644 --- a/nuttx/sched/mq_msgfree.c +++ b/nuttx/sched/mq_msgfree.c @@ -125,7 +125,7 @@ void mq_msgfree(FAR mqmsg_t *mqmsg) else if (mqmsg->type == MQ_ALLOC_DYN) { - sched_free(mqmsg); + sched_kfree(mqmsg); } else { |