mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Move memory manager into user space
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3460 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+1
-1
@@ -121,7 +121,7 @@ void net_initialize(void)
|
||||
FAR struct socketlist *net_alloclist(void)
|
||||
{
|
||||
FAR struct socketlist *list;
|
||||
list = (FAR struct socketlist*)kzmalloc(sizeof(struct socketlist));
|
||||
list = (FAR struct socketlist*)kzalloc(sizeof(struct socketlist));
|
||||
if (list)
|
||||
{
|
||||
/* Start with a reference count of one */
|
||||
|
||||
Reference in New Issue
Block a user