diff options
Diffstat (limited to 'nuttx/lib/lib_init.c')
-rw-r--r-- | nuttx/lib/lib_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/lib_init.c b/nuttx/lib/lib_init.c index 90ccc358b..d6eb5f0a4 100644 --- a/nuttx/lib/lib_init.c +++ b/nuttx/lib/lib_init.c @@ -166,7 +166,7 @@ void lib_releaselist(FAR struct streamlist *list) /* Decrement the reference count */ _lib_semtake(list); - crefs = --list->sl_crefs; + crefs = --(list->sl_crefs); _lib_semgive(list); /* If the count decrements to zero, then there is no reference |