mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Compiles with ZDS-II
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@540 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+1
-1
@@ -248,7 +248,7 @@ FAR void *realloc(FAR void *oldmem, size_t size)
|
||||
newnode->preceding = prev->size | MM_ALLOC_BIT;
|
||||
next->preceding = newnode->size | (next->preceding & MM_ALLOC_BIT);
|
||||
|
||||
/* Return the previous free node to the nodelist (with the new size) */
|
||||
/* Return the previous free node to the nodelist (with the new size) */
|
||||
|
||||
mm_addfreechunk(prev);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user