fix a bad free with globalvar.blob

we use a single malloc for struct vrt_blob and the blob data it points
to
parent cfdab601
......@@ -88,8 +88,6 @@ static const struct vrt_blob null_blob[1] = {{
} while(0)
#define FREE_BLOB(ptr) \
if ((ptr) != NULL && (ptr) != null_blob) { \
if ((ptr)->blob) \
free(TRUST_ME(ptr->blob)); \
free(TRUST_ME(ptr)); \
(ptr) = NULL; \
} \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment