summaryrefslogtreecommitdiff
path: root/src/dbus-job.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus-job.c')
-rw-r--r--src/dbus-job.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dbus-job.c b/src/dbus-job.c
index b66d23604b..908ddba537 100644
--- a/src/dbus-job.c
+++ b/src/dbus-job.c
@@ -198,6 +198,8 @@ static DBusHandlerResult bus_job_message_handler(DBusConnection *connection, DBu
if (r == -ENOENT) {
DBusError e;
+
+ dbus_error_init(&e);
dbus_set_error_const(&e, DBUS_ERROR_UNKNOWN_OBJECT, "Unknown job");
return bus_send_error_reply(m, connection, message, &e, r);
}