mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 13:28:10 +00:00
Fix another memory leak in init_parser().
This commit is contained in:
parent
f0a6827feb
commit
a890d723d1
5
gram.c
5
gram.c
@ -771,6 +771,7 @@ init_parser(path, quiet)
|
||||
}
|
||||
efree(priv);
|
||||
}
|
||||
efree(us);
|
||||
}
|
||||
tq_init(&userspecs);
|
||||
|
||||
@ -804,7 +805,7 @@ init_parser(path, quiet)
|
||||
sudolineno = 1;
|
||||
verbose = !quiet;
|
||||
}
|
||||
#line 756 "y.tab.c"
|
||||
#line 757 "y.tab.c"
|
||||
/* allocate initial stack or double stack size, up to YYMAXDEPTH */
|
||||
#if defined(__cplusplus) || defined(__STDC__)
|
||||
static int yygrowstack(void)
|
||||
@ -1541,7 +1542,7 @@ case 92:
|
||||
yyval.member = new_member(yyvsp[0].string, WORD);
|
||||
}
|
||||
break;
|
||||
#line 1493 "y.tab.c"
|
||||
#line 1494 "y.tab.c"
|
||||
}
|
||||
yyssp -= yym;
|
||||
yystate = *yyssp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user