Commit a85957ae authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

devenum: Reset moniker pointer before calling IFilterMapper2_RegisterFilter.

parent abc6d186
......@@ -670,8 +670,11 @@ static HRESULT DEVENUM_CreateSpecialCategories(void)
/* FIXME: do additional stuff with IMoniker here, depending on what RegisterFilter does */
if (pMoniker)
IMoniker_Release(pMoniker);
if (pMoniker)
{
IMoniker_Release(pMoniker);
pMoniker = NULL;
}
wsprintfW(szDSoundName, szDSoundNameFormat, wocaps.szPname);
res = IFilterMapper2_RegisterFilter(pMapper,
......
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