s3-talloc Change TALLOC_MEMDUP() to talloc_memdup()
[ira/wip.git] / source3 / libads / ldap.c
index 005481d1841a4c1b1aa0e643d591bc4a6be6bf81..ed17ed8473fd6d0d5809d5f1c42a96a86ae40d9e 100644 (file)
@@ -790,7 +790,7 @@ static struct berval *dup_berval(TALLOC_CTX *ctx, const struct berval *in_val)
        if (in_val->bv_len == 0) return value;
 
        value->bv_len = in_val->bv_len;
-       value->bv_val = (char *)TALLOC_MEMDUP(ctx, in_val->bv_val,
+       value->bv_val = (char *)talloc_memdup(ctx, in_val->bv_val,
                                              in_val->bv_len);
        return value;
 }