diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-03 20:41:49 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-03 20:41:49 +0000 |
commit | 758d4800642060f50cdf26f7063c9825ea635d15 (patch) | |
tree | e689f42a002a2fd57548de0a3eb2aab98fe8f0f0 /nuttx/net | |
parent | c5ec7c478098273586b7a5716e30dc82c1e6aba5 (diff) | |
download | px4-nuttx-758d4800642060f50cdf26f7063c9825ea635d15.tar.gz px4-nuttx-758d4800642060f50cdf26f7063c9825ea635d15.tar.bz2 px4-nuttx-758d4800642060f50cdf26f7063c9825ea635d15.zip |
Move memory manager into user space
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3460 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/net')
-rw-r--r-- | nuttx/net/net_sockets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/net_sockets.c b/nuttx/net/net_sockets.c index dce8aa1f0..a1e8f15b0 100644 --- a/nuttx/net/net_sockets.c +++ b/nuttx/net/net_sockets.c @@ -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 */ |