aboutsummaryrefslogtreecommitdiffstats
path: root/rb.c
diff options
context:
space:
mode:
Diffstat (limited to 'rb.c')
-rw-r--r--rb.c2
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);