devenum: Reset moniker pointer before calling IFilterMapper2_RegisterFilter.
This commit is contained in:
parent
abc6d186ea
commit
a85957ae0e
|
@ -670,8 +670,11 @@ static HRESULT DEVENUM_CreateSpecialCategories(void)
|
||||||
|
|
||||||
/* FIXME: do additional stuff with IMoniker here, depending on what RegisterFilter does */
|
/* FIXME: do additional stuff with IMoniker here, depending on what RegisterFilter does */
|
||||||
|
|
||||||
if (pMoniker)
|
if (pMoniker)
|
||||||
IMoniker_Release(pMoniker);
|
{
|
||||||
|
IMoniker_Release(pMoniker);
|
||||||
|
pMoniker = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
wsprintfW(szDSoundName, szDSoundNameFormat, wocaps.szPname);
|
wsprintfW(szDSoundName, szDSoundNameFormat, wocaps.szPname);
|
||||||
res = IFilterMapper2_RegisterFilter(pMapper,
|
res = IFilterMapper2_RegisterFilter(pMapper,
|
||||||
|
|
Loading…
Reference in New Issue