7 Jun
2023
7 Jun
'23
5:45 a.m.
From: Alex Henrie <alexhenrie24(a)gmail.com> --- dlls/vbscript/vbregexp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/vbscript/vbregexp.c b/dlls/vbscript/vbregexp.c index 6023b25c929..641798f97dd 100644 --- a/dlls/vbscript/vbregexp.c +++ b/dlls/vbscript/vbregexp.c @@ -1320,9 +1320,9 @@ static HRESULT WINAPI RegExp2_Execute(IRegExp2 *iface, break; hres = add_match(match_collection, add); + IMatch2_Release(add); if(FAILED(hres)) break; - IMatch2_Release(add); if(!(This->flags & REG_GLOB)) break; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/2999