diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-08 18:34:11 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-08 18:34:11 +0000 |
commit | a8872bea509f507b8f595e210e49fd06d8aa0d49 (patch) | |
tree | 83f8273dcee57f28f22a6f1b01460125f8135835 /nuttx/fs/fs_files.c | |
parent | 77f556a36f68292909cd98a7ddeb58c3f739f324 (diff) | |
download | px4-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.c | 2 |
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 |