Commit 809c10ee authored by Linus Nordberg's avatar Linus Nordberg

Free 'in' in success case too.

coverity: 1449514
parent cc8fe7ff
......@@ -1063,6 +1063,7 @@ int dorewritemodattr(struct tlv *attr, struct modattr *modattr) {
i++;
}
}
free(in);
memcpy(attr->v + reslen, out + start, i - start);
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