Commit 3ed689c0 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

devenum: Get rid of the union in struct moniker.

To avoid an invalid free in moniker_Release(). Signed-off-by: 's avatarZebediah Figura <z.figura12@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 8edbd2d3
......@@ -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 */
};
WCHAR *name; /* for filters and codecs */
CLSID clsid; /* for DMOs */
IPropertyBag IPropertyBag_iface;
};
......
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