diff options
author | Jeremy Allison <jra@samba.org> | 2002-12-30 23:55:58 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-12-30 23:55:58 +0000 |
commit | e789edbb287319f52f49f2999917a610565144d9 (patch) | |
tree | db9f57222a525caf43975b67ca45e8c8277a092b /source/libads | |
parent | 1eff36ff2fd20ff1844800acefb31972ad865527 (diff) | |
download | samba-e789edbb287319f52f49f2999917a610565144d9.tar.gz samba-e789edbb287319f52f49f2999917a610565144d9.tar.xz samba-e789edbb287319f52f49f2999917a610565144d9.zip |
Catching up with old patches. Add define for VERITAS quota support.
Check return in ldap.
Jeremy.
Diffstat (limited to 'source/libads')
-rw-r--r-- | source/libads/ldap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/libads/ldap.c b/source/libads/ldap.c index 97ccf76983a..1ed1da0b5d0 100644 --- a/source/libads/ldap.c +++ b/source/libads/ldap.c @@ -326,6 +326,8 @@ static struct berval *dup_berval(TALLOC_CTX *ctx, const struct berval *in_val) if (!in_val) return NULL; value = talloc_zero(ctx, sizeof(struct berval)); + if (value == NULL) + return NULL; if (in_val->bv_len == 0) return value; value->bv_len = in_val->bv_len; |