diff --git a/blob.c b/blob.c index bd66d78..65adb13 100644 --- a/blob.c +++ b/blob.c @@ -105,6 +105,7 @@ blob_buf_free(struct blob_buf *buf) { free(buf->buf); buf->buf = NULL; + buf->head = NULL; buf->buflen = 0; }