Commit 10dafbc6 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Plug harmless leak

Spotted by coverity.
parent b4fc49a9
...@@ -152,7 +152,10 @@ VSM_n_Arg(struct VSM_data *vd, const char *arg) ...@@ -152,7 +152,10 @@ VSM_n_Arg(struct VSM_data *vd, const char *arg)
REPLACE(vd->name, name); REPLACE(vd->name, name);
REPLACE(vd->dname, dname); REPLACE(vd->dname, dname);
REPLACE(vd->iname, VSB_data(vsb)); REPLACE(vd->iname, VSB_data(vsb));
VSB_destroy(&vsb); VSB_destroy(&vsb);
free(name);
free(dname);
return (1); return (1);
} }
......
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