summaryrefslogtreecommitdiff
path: root/src/sbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbuf.c')
-rw-r--r--src/sbuf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sbuf.c b/src/sbuf.c
index 055006d..d85ed47 100644
--- a/src/sbuf.c
+++ b/src/sbuf.c
@@ -46,9 +46,7 @@ sbuf_free (struct sbuf *b)
{
if (b != NULL)
{
- if (b->data != NULL)
- free (b->data);
-
+ free (b->data);
free (b);
}
}