mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Clean kernel-/user-mode module build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3469 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+3
-2
@@ -39,8 +39,9 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/kmalloc.h>
|
||||
#include <nuttx/fs.h>
|
||||
|
||||
#include "fs_internal.h"
|
||||
@@ -144,7 +145,7 @@ int inode_remove(const char *path)
|
||||
/* And delete it now -- recursively to delete all of its children */
|
||||
|
||||
inode_free(node->i_child);
|
||||
free(node);
|
||||
kfree(node);
|
||||
return OK;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user