summaryrefslogtreecommitdiff
path: root/source4/libads/ldap_printer.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libads/ldap_printer.c')
-rw-r--r--source4/libads/ldap_printer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libads/ldap_printer.c b/source4/libads/ldap_printer.c
index 71cc8a531f..7ae19219b4 100644
--- a/source4/libads/ldap_printer.c
+++ b/source4/libads/ldap_printer.c
@@ -162,7 +162,7 @@ static BOOL map_multi_sz(TALLOC_CTX *ctx, ADS_MODLIST *mods,
};
if (num_vals) {
- str_values = talloc_array_p(ctx, char *, num_vals + 1);
+ str_values = talloc_array(ctx, char *, num_vals + 1);
cur_str = value->data_p;
for (i=0; i < num_vals; i++) {
pull_ucs2_talloc(ctx, &str_values[i], cur_str);