db/simple: pass the correct GError pointer

This commit is contained in:
Max Kellermann 2012-01-05 22:24:23 +01:00
parent ec43721c3c
commit d83dea4463
1 changed files with 1 additions and 1 deletions

View File

@ -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)