diff options
Diffstat (limited to 'hcid/dbus-service.c')
-rw-r--r-- | hcid/dbus-service.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c index 5d14e1c3..a9532a3b 100644 --- a/hcid/dbus-service.c +++ b/hcid/dbus-service.c @@ -714,11 +714,6 @@ static struct service *create_service(const char *file) } keyfile = g_key_file_new(); - if (!keyfile) { - error("OOM while allocating key file"); - service_free(service); - return NULL; - } if (!g_key_file_load_from_file(keyfile, file, 0, &err)) { error("Parsing %s failed: %s", file, err->message); |