mirror of
https://github.com/reactos/wine.git
synced 2025-02-16 10:59:45 +00:00
wrc: Free type to avoid leaks (Coverity).
This commit is contained in:
parent
f0b685d504
commit
fc3b99b90a
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user