dbus.c: don't unref invocation
This commit is contained in:
parent
cdb39c30b4
commit
e3bce11796
2
dbus.c
2
dbus.c
@ -88,11 +88,9 @@ void handle_method_call(GDBusConnection * connection,
|
|||||||
onGetServerInformation(connection, sender, parameters,
|
onGetServerInformation(connection, sender, parameters,
|
||||||
invocation);
|
invocation);
|
||||||
} else {
|
} else {
|
||||||
g_object_unref(invocation);
|
|
||||||
printf("WARNING: sender: %s; unknown method_name: %s\n", sender,
|
printf("WARNING: sender: %s; unknown method_name: %s\n", sender,
|
||||||
method_name);
|
method_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void onGetCapabilities(GDBusConnection * connection,
|
static void onGetCapabilities(GDBusConnection * connection,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user