summaryrefslogtreecommitdiff
path: root/nuttx/sched/mq_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/mq_open.c')
-rw-r--r--nuttx/sched/mq_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/mq_open.c b/nuttx/sched/mq_open.c
index 64c8389b1..7a4e39010 100644
--- a/nuttx/sched/mq_open.c
+++ b/nuttx/sched/mq_open.c
@@ -215,7 +215,7 @@ mqd_t mq_open(const char *mq_name, int oflags, ...)
* uninitialized, mq_deallocate() is not used.
*/
- sched_free(msgq);
+ sched_kfree(msgq);
}
}
}