diff options
Diffstat (limited to 'src/db/sysdb.c')
-rw-r--r-- | src/db/sysdb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c index b7624af7..1409149c 100644 --- a/src/db/sysdb.c +++ b/src/db/sysdb.c @@ -388,6 +388,9 @@ int sysdb_attrs_steal_string(struct sysdb_attrs *attrs, int ret; ret = sysdb_attrs_get_el(attrs, name, &el); + if (ret != EOK) { + return ret; + } vals = talloc_realloc(attrs->a, el->values, struct ldb_val, el->num_values+1); |