diff options
Diffstat (limited to 'nuttx/graphics/nxsu')
-rw-r--r-- | nuttx/graphics/nxsu/nx_close.c | 2 | ||||
-rw-r--r-- | nuttx/graphics/nxsu/nx_constructwindow.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/graphics/nxsu/nx_close.c b/nuttx/graphics/nxsu/nx_close.c index 05c6acdd1..5891fd791 100644 --- a/nuttx/graphics/nxsu/nx_close.c +++ b/nuttx/graphics/nxsu/nx_close.c @@ -90,6 +90,6 @@ void nx_close(NXHANDLE handle) { /* For consistency, we use the user-space allocate (if available) */ - kufree(handle); + kumm_free(handle); } diff --git a/nuttx/graphics/nxsu/nx_constructwindow.c b/nuttx/graphics/nxsu/nx_constructwindow.c index f5f5720a9..d19b6ba23 100644 --- a/nuttx/graphics/nxsu/nx_constructwindow.c +++ b/nuttx/graphics/nxsu/nx_constructwindow.c @@ -116,7 +116,7 @@ int nx_constructwindow(NXHANDLE handle, NXWINDOW hwnd, if (!fe || !cb) { - kufree(wnd); + kumm_free(wnd); errno = EINVAL; return ERROR; } |