summaryrefslogtreecommitdiff
path: root/src/libstddjb/iobufferu_finish.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/iobufferu_finish.c')
-rw-r--r--src/libstddjb/iobufferu_finish.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstddjb/iobufferu_finish.c b/src/libstddjb/iobufferu_finish.c
new file mode 100644
index 0000000..eb3749e
--- /dev/null
+++ b/src/libstddjb/iobufferu_finish.c
@@ -0,0 +1,9 @@
+/* ISC license. */
+
+#include <skalibs/alloc.h>
+#include <skalibs/iobuffer.h>
+
+void iobufferu_finish (iobufferu_ref b)
+{
+ alloc_free(b->buf) ;
+}