dbusaddress: do not leak error on win32 code

This commit is contained in:
Ignacio Casal Quinteiro
2016-11-29 09:20:36 +01:00
parent 3e7b5cbef8
commit 93179f10b8

View File

@@ -1356,6 +1356,7 @@ open_console_window (void)
atexit (wait_console_window);
}
}
static void
idle_timeout_cb (GDBusDaemon *daemon, gpointer user_data)
{
@@ -1404,6 +1405,7 @@ g_win32_run_session_bus (HWND hwnd, HINSTANCE hinst, char *cmdline, int nCmdShow
if (daemon == NULL)
{
g_printerr ("Can't init bus: %s\n", error->message);
g_error_free (error);
return;
}