diff options
-rw-r--r-- | embed/uri-tester.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/uri-tester.c b/embed/uri-tester.c index 7af0c56f4..1d1283fce 100644 --- a/embed/uri-tester.c +++ b/embed/uri-tester.c @@ -482,7 +482,7 @@ uri_tester_compile_regexp (UriTester *tester, { g_warning ("%s: %s", G_STRFUNC, error->message); g_error_free (error); - g_regex_unref (regex); + g_clear_pointer (®ex, g_regex_unref); return TRUE; } |