index
:
librb
1.0.0-r1
1.1
master
nuttx
pkgs
ubuntu-bug
ring buffer c library with posix-like read/write interface and thread awarness
michal.lyszczek@bofc.pl
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
rb.c
2
1 files changed, 1 insertions, 1 deletions
diff --git a/rb.c b/rb.c
index 6d78446..e09ad5e 100644
--- a/
rb.c
+++ b/
rb.c
@@ -1047,7 +1047,7 @@ int rb_destroy
{
free(rb->buffer);
free(rb);
- return 0;
+ return e;
}
e = rb_cleanup_p(rb);