summaryrefslogtreecommitdiff
path: root/nuttx/fs/fs_closedir.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/fs/fs_closedir.c')
-rw-r--r--nuttx/fs/fs_closedir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/fs/fs_closedir.c b/nuttx/fs/fs_closedir.c
index cd499f539..6aeed03a5 100644
--- a/nuttx/fs/fs_closedir.c
+++ b/nuttx/fs/fs_closedir.c
@@ -1,7 +1,7 @@
/****************************************************************************
* fs/fs_closedir.c
*
- * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2011, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -135,13 +135,13 @@ int closedir(FAR DIR *dirp)
/* Then release the container */
- kfree(idir);
+ kufree(idir);
return OK;
#ifndef CONFIG_DISABLE_MOUNTPOINT
errout_with_inode:
inode_release(inode);
- kfree(idir);
+ kufree(idir);
#endif
errout: