application: Fix double free
The double free was introduced in 46e4422.
This fixes #225
This commit is contained in:
@@ -188,8 +188,6 @@ check_dial_number (const gchar *number)
|
|||||||
|
|
||||||
matches = g_regex_match (reject, number, 0, NULL);
|
matches = g_regex_match (reject, number, 0, NULL);
|
||||||
|
|
||||||
g_regex_unref (reject);
|
|
||||||
|
|
||||||
return !matches;
|
return !matches;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user