summaryrefslogtreecommitdiff
path: root/nuttx/fs/fs_files.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-08 18:34:11 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-08 18:34:11 +0000
commita8872bea509f507b8f595e210e49fd06d8aa0d49 (patch)
tree83f8273dcee57f28f22a6f1b01460125f8135835 /nuttx/fs/fs_files.c
parent77f556a36f68292909cd98a7ddeb58c3f739f324 (diff)
downloadpx4-nuttx-a8872bea509f507b8f595e210e49fd06d8aa0d49.tar.gz
px4-nuttx-a8872bea509f507b8f595e210e49fd06d8aa0d49.tar.bz2
px4-nuttx-a8872bea509f507b8f595e210e49fd06d8aa0d49.zip
Fix c5471 signal handling + deallocation bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@44 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fs_files.c')
-rw-r--r--nuttx/fs/fs_files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/fs_files.c b/nuttx/fs/fs_files.c
index 30c2bbed3..8d300b8ce 100644
--- a/nuttx/fs/fs_files.c
+++ b/nuttx/fs/fs_files.c
@@ -141,7 +141,7 @@ int files_releaselist(FAR struct filelist *list)
/* Decrement the reference count */
_files_semtake(list);
- crefs = --list->fl_crefs;
+ crefs = --(list->fl_crefs);
_files_semgive(list);
/* If the count decrements to zero, then there is no reference