user-accounts: Initialize GError* to NULL before use
Otherwise, it causes warnings to be shown on the terminal when it is used and quickly leads to a crash.
This commit is contained in:
parent
a72a71ab11
commit
54caab7b07
1 changed files with 1 additions and 1 deletions
|
@ -458,7 +458,7 @@ is_valid_username_async (const gchar *username,
|
|||
isValidUsernameData *data;
|
||||
gchar *argv[6];
|
||||
GPid pid;
|
||||
GError *error;
|
||||
GError *error = NULL;
|
||||
|
||||
task = g_task_new (NULL, cancellable, callback, callback_data);
|
||||
g_task_set_source_tag (task, is_valid_username_async);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue