devenum: Get rid of the union in struct moniker.
To avoid an invalid free in moniker_Release(). Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8edbd2d3e8
commit
3ed689c0f2
|
@ -59,11 +59,8 @@ struct moniker
|
|||
CLSID class;
|
||||
BOOL has_class;
|
||||
enum device_type type;
|
||||
union
|
||||
{
|
||||
WCHAR *name; /* for filters and codecs */
|
||||
CLSID clsid; /* for DMOs */
|
||||
};
|
||||
|
||||
IPropertyBag IPropertyBag_iface;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue