Commit 5fd49a1b authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Always assert VSB_finish()

Spotted by: Coverity
parent 2ac27056
......@@ -77,7 +77,7 @@ main(int argc, char * const *argv)
vex = vex_New(q_arg, vsb, 0);
if (vex == NULL) {
VSB_finish(vsb);
AZ(VSB_finish(vsb));
fprintf(stderr, "Error:\n%s", VSB_data(vsb));
VSB_destroy(&vsb);
free(q_arg);
......
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