mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-10 04:45:48 +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
|
* fact that GetAll() failed
|
||||||
*/
|
*/
|
||||||
//g_debug ("error: %d %d %s", error->domain, error->code, error->message);
|
//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;
|
ret = TRUE;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user