diff --git a/src/db/simple_db_plugin.c b/src/db/simple_db_plugin.c index e359b5e65..e7cf41fa2 100644 --- a/src/db/simple_db_plugin.c +++ b/src/db/simple_db_plugin.c @@ -68,7 +68,7 @@ simple_db_init(const struct config_param *param, GError **error_r) db_base_init(&db->base, &simple_db_plugin); GError *error = NULL; - db->path = config_dup_block_path(param, "path", error_r); + db->path = config_dup_block_path(param, "path", &error); if (db->path == NULL) { g_free(db); if (error != NULL)