2016-03-03 13:22 GMT+01:00 Paul Gofman <gofmanp at gmail.com>: > + > + if (effect) > + effect->lpVtbl->Release(effect); > +} The if is unnecessary, the effect creation should never fail (and if it failed you would have already crashed long before that).