mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
GDBusProxy: Fix error handling in synchronous initialization codepath
Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
parent
653921e17a
commit
ed7f59770e
@ -863,7 +863,11 @@ initable_init (GInitable *initable,
|
||||
* fact that GetAll() failed
|
||||
*/
|
||||
//g_debug ("error: %d %d %s", error->domain, error->code, error->message);
|
||||
g_error_free (error);
|
||||
if (error != NULL)
|
||||
{
|
||||
g_error_free (*error);
|
||||
*error = NULL;
|
||||
}
|
||||
ret = TRUE;
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user