diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 17:04:02 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 17:04:02 -0600 |
commit | 7482b7ad0f60724e593a8919783444ef79f4c79e (patch) | |
tree | 396e7019c35eb0f49f430c1132972eedc292a752 /nuttx/fs/procfs/fs_procfsproc.c | |
parent | 2ad3a4c2a2b56a721180faa3c689110d86d90359 (diff) | |
download | px4-nuttx-7482b7ad0f60724e593a8919783444ef79f4c79e.tar.gz px4-nuttx-7482b7ad0f60724e593a8919783444ef79f4c79e.tar.bz2 px4-nuttx-7482b7ad0f60724e593a8919783444ef79f4c79e.zip |
Rename kfree to kmm_free for consistency with other naming conventions
Diffstat (limited to 'nuttx/fs/procfs/fs_procfsproc.c')
-rw-r--r-- | nuttx/fs/procfs/fs_procfsproc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/fs/procfs/fs_procfsproc.c b/nuttx/fs/procfs/fs_procfsproc.c index c5b1b67c3..50cec9ed2 100644 --- a/nuttx/fs/procfs/fs_procfsproc.c +++ b/nuttx/fs/procfs/fs_procfsproc.c @@ -1011,7 +1011,7 @@ static int proc_close(FAR struct file *filep) /* Release the file container structure */ - kfree(procfile); + kmm_free(procfile); filep->f_priv = NULL; return OK; } @@ -1221,7 +1221,7 @@ static int proc_opendir(FAR const char *relpath, FAR struct fs_dirent_s *dir) if (!node) { fdbg("ERROR: Invalid path \"%s\"\n", relpath); - kfree(procdir); + kmm_free(procdir); return -ENOENT; } @@ -1230,7 +1230,7 @@ static int proc_opendir(FAR const char *relpath, FAR struct fs_dirent_s *dir) if (node->dtype != DTYPE_DIRECTORY) { fdbg("ERROR: Path \"%s\" is not a directory\n", relpath); - kfree(procdir); + kmm_free(procdir); return -ENOTDIR; } @@ -1270,7 +1270,7 @@ static int proc_closedir(FAR struct fs_dirent_s *dir) if (priv) { - kfree(priv); + kmm_free(priv); } dir->u.procfs = NULL; |