X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fdird%2Fdird_conf.c;h=4fe3b112aca5a9629776e613a335699949daed17;hb=bb827dbd7f8f7421aace966d6c29e42399d01fbd;hp=cf45f51fbc2761ae98e69ae9b4ad40f36d576c48;hpb=ca48808928afdfa126564c721c40a294cb0c2488;p=bacula%2Fbacula diff --git a/bacula/src/dird/dird_conf.c b/bacula/src/dird/dird_conf.c index cf45f51fbc..4fe3b112ac 100644 --- a/bacula/src/dird/dird_conf.c +++ b/bacula/src/dird/dird_conf.c @@ -1207,7 +1207,7 @@ void store_acl(LEX *lc, RES_ITEM *item, int index, int pass) token = lex_get_token(lc, T_NAME); if (pass == 1) { if (((alist **)item->value)[item->code] == NULL) { - ((alist **)item->value)[item->code] = new alist(10, owned_by_alist); + ((alist **)item->value)[item->code] = New(alist(10, owned_by_alist)); // Dmsg1(900, "Defined new ACL alist at %d\n", item->code); } ((alist **)item->value)[item->code]->append(bstrdup(lc->str));