Skip to content

Commit 03f5db1

Browse files
committed
Check box is allocated (CID #1648479)
1 parent 9a2943c commit 03f5db1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/modules/rlm_ldap/rlm_ldap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ static xlat_action_t ldap_xlat_uri_attr_option(TALLOC_CTX *ctx, fr_dcursor_t *ou
621621
option = option_vb->vb_strvalue;
622622
}
623623

624-
vb = fr_value_box_alloc(ctx, FR_TYPE_STRING, NULL);
624+
MEM(vb = fr_value_box_alloc(ctx, FR_TYPE_STRING, NULL));
625625
attrs_fixed = talloc_strdup(vb, "");
626626

627627
attr = ldap_url->lud_attrs;

0 commit comments

Comments
 (0)