diff options
Diffstat (limited to 'src/gmutil.c')
-rw-r--r-- | src/gmutil.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { | |||
34 | caseInsensitive_RegExpOption); | 34 | caseInsensitive_RegExpOption); |
35 | } | 35 | } |
36 | iRegExpMatch m; | 36 | iRegExpMatch m; |
37 | init_RegExpMatch(&m); | ||
37 | if (matchString_RegExp(absoluteUrlPattern_, text, &m)) { | 38 | if (matchString_RegExp(absoluteUrlPattern_, text, &m)) { |
38 | d->protocol = capturedRange_RegExpMatch(&m, 1); | 39 | d->protocol = capturedRange_RegExpMatch(&m, 1); |
39 | d->host = capturedRange_RegExpMatch(&m, 2); | 40 | d->host = capturedRange_RegExpMatch(&m, 2); |