Commit fc3b99b9 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

wrc: Free type to avoid leaks (Coverity).

parent f0b685d5
......@@ -292,7 +292,10 @@ static resource_t *read_res32(FILE *fp)
usrres = new_user(type, NULL, new_int(memopt));
}
else
{
free (type);
usrres = NULL;
}
rsc = new_resource(res_type,
usrres,
memopt,
......
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