Commit 746b5bbd authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

sane: Fix memory leak in create_item (Coverity).

parent 8db1662d
......@@ -318,6 +318,7 @@ static int create_item(HDC hdc, const struct option_descriptor *opt,
if (trail_edit)
*count+=1;
free(trail_edit);
return leading_len + local_len + padding + padding2 + trail_len;
}
......
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