From fbf36dfbf77701d647f0133f1532ebc42eb05e32 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Mon, 24 Aug 2020 09:45:36 +0300 Subject: Initialize RegExpMatches --- src/gmutil.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gmutil.c') diff --git a/src/gmutil.c b/src/gmutil.c index cd00eb1d..2927953d 100644 --- a/src/gmutil.c +++ b/src/gmutil.c @@ -34,6 +34,7 @@ void init_Url(iUrl *d, const iString *text) { caseInsensitive_RegExpOption); } iRegExpMatch m; + init_RegExpMatch(&m); if (matchString_RegExp(absoluteUrlPattern_, text, &m)) { d->protocol = capturedRange_RegExpMatch(&m, 1); d->host = capturedRange_RegExpMatch(&m, 2); -- cgit v1.2.3