Module: wine Branch: master Commit: 13b834561bb9c211648c0c31adc8bb2a92f5120a URL: http://source.winehq.org/git/wine.git/?a=commit;h=13b834561bb9c211648c0c31ad...
Author: Andrew Nguyen anguyen@codeweavers.com Date: Tue Feb 1 04:16:02 2011 -0600
shell32/tests: Release the IAutoComplete interface on a failure path.
---
dlls/shell32/tests/autocomplete.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/tests/autocomplete.c b/dlls/shell32/tests/autocomplete.c index d4a84ae..01b97c1 100644 --- a/dlls/shell32/tests/autocomplete.c +++ b/dlls/shell32/tests/autocomplete.c @@ -55,6 +55,7 @@ static IAutoComplete *test_init(void) if (r == REGDB_E_CLASSNOTREG) { win_skip("CLSID_ACLMulti is not registered\n"); + IAutoComplete_Release(ac); return NULL; } ok(r == S_OK, "no IID_IACList (0x%08x)\n", r);