diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 17:04:02 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 17:04:02 -0600 |
commit | 7482b7ad0f60724e593a8919783444ef79f4c79e (patch) | |
tree | 396e7019c35eb0f49f430c1132972eedc292a752 /nuttx/graphics | |
parent | 2ad3a4c2a2b56a721180faa3c689110d86d90359 (diff) | |
download | nuttx-7482b7ad0f60724e593a8919783444ef79f4c79e.tar.gz nuttx-7482b7ad0f60724e593a8919783444ef79f4c79e.tar.bz2 nuttx-7482b7ad0f60724e593a8919783444ef79f4c79e.zip |
Rename kfree to kmm_free for consistency with other naming conventions
Diffstat (limited to 'nuttx/graphics')
-rw-r--r-- | nuttx/graphics/nxbe/nxbe_clipper.c | 2 | ||||
-rw-r--r-- | nuttx/graphics/nxbe/nxbe_colormap.c | 2 | ||||
-rw-r--r-- | nuttx/graphics/nxconsole/nxcon_font.c | 2 | ||||
-rw-r--r-- | nuttx/graphics/nxconsole/nxcon_register.c | 2 | ||||
-rw-r--r-- | nuttx/graphics/nxconsole/nxcon_unregister.c | 4 | ||||
-rw-r--r-- | nuttx/graphics/nxmu/nxmu_kbdin.c | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/nuttx/graphics/nxbe/nxbe_clipper.c b/nuttx/graphics/nxbe/nxbe_clipper.c index 88b6ef2f6..c5217bcf3 100644 --- a/nuttx/graphics/nxbe/nxbe_clipper.c +++ b/nuttx/graphics/nxbe/nxbe_clipper.c @@ -262,7 +262,7 @@ void nxbe_clipper(FAR struct nxbe_window_s *wnd, if (stack.stack) { - kfree(stack.stack); + kmm_free(stack.stack); } } diff --git a/nuttx/graphics/nxbe/nxbe_colormap.c b/nuttx/graphics/nxbe/nxbe_colormap.c index 89e6baace..3a9a2506a 100644 --- a/nuttx/graphics/nxbe/nxbe_colormap.c +++ b/nuttx/graphics/nxbe/nxbe_colormap.c @@ -152,7 +152,7 @@ int nxbe_colormap(FAR NX_DRIVERTYPE *dev) ret = dev->putcmap(dev, &cmap); - kfree(alloc); + kmm_free(alloc); return ret; } #endif diff --git a/nuttx/graphics/nxconsole/nxcon_font.c b/nuttx/graphics/nxconsole/nxcon_font.c index ad91b99db..056a96637 100644 --- a/nuttx/graphics/nxconsole/nxcon_font.c +++ b/nuttx/graphics/nxconsole/nxcon_font.c @@ -102,7 +102,7 @@ static void nxcon_freeglyph(FAR struct nxcon_glyph_s *glyph) { if (glyph->bitmap) { - kfree(glyph->bitmap); + kmm_free(glyph->bitmap); } memset(glyph, 0, sizeof(struct nxcon_glyph_s)); } diff --git a/nuttx/graphics/nxconsole/nxcon_register.c b/nuttx/graphics/nxconsole/nxcon_register.c index cadda7394..0e660aff0 100644 --- a/nuttx/graphics/nxconsole/nxcon_register.c +++ b/nuttx/graphics/nxconsole/nxcon_register.c @@ -155,6 +155,6 @@ FAR struct nxcon_state_s * return (NXCONSOLE)priv; errout: - kfree(priv); + kmm_free(priv); return NULL; } diff --git a/nuttx/graphics/nxconsole/nxcon_unregister.c b/nuttx/graphics/nxconsole/nxcon_unregister.c index af6a53370..d0dc97b97 100644 --- a/nuttx/graphics/nxconsole/nxcon_unregister.c +++ b/nuttx/graphics/nxconsole/nxcon_unregister.c @@ -108,7 +108,7 @@ void nxcon_unregister(NXCONSOLE handle) FAR struct nxcon_glyph_s *glyph = &priv->glyph[i]; if (glyph->bitmap) { - kfree(glyph->bitmap); + kmm_free(glyph->bitmap); } } @@ -119,5 +119,5 @@ void nxcon_unregister(NXCONSOLE handle) /* Free the private data structure */ - kfree(handle); + kmm_free(handle); } diff --git a/nuttx/graphics/nxmu/nxmu_kbdin.c b/nuttx/graphics/nxmu/nxmu_kbdin.c index 1486a4d2b..eb3fc0717 100644 --- a/nuttx/graphics/nxmu/nxmu_kbdin.c +++ b/nuttx/graphics/nxmu/nxmu_kbdin.c @@ -111,7 +111,7 @@ void nxmu_kbdin(FAR struct nxfe_state_s *fe, uint8_t nch, FAR uint8_t *ch) } (void)nxmu_sendclientwindow(fe->be.topwnd, outmsg, size); - kfree(outmsg); + kmm_free(outmsg); } } |