Rename kfree to kmm_free for consistency with other naming conventions

This commit is contained in:
Gregory Nutt
2014-08-31 17:04:02 -06:00
parent 204e5b1162
commit 54fa3b0b59
137 changed files with 646 additions and 641 deletions
+1 -1
View File
@@ -262,7 +262,7 @@ void nxbe_clipper(FAR struct nxbe_window_s *wnd,
if (stack.stack)
{
kfree(stack.stack);
kmm_free(stack.stack);
}
}
+1 -1
View File
@@ -152,7 +152,7 @@ int nxbe_colormap(FAR NX_DRIVERTYPE *dev)
ret = dev->putcmap(dev, &cmap);
kfree(alloc);
kmm_free(alloc);
return ret;
}
#endif
+1 -1
View File
@@ -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));
}
+1 -1
View File
@@ -155,6 +155,6 @@ FAR struct nxcon_state_s *
return (NXCONSOLE)priv;
errout:
kfree(priv);
kmm_free(priv);
return NULL;
}
+2 -2
View File
@@ -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);
}
+1 -1
View File
@@ -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);
}
}