2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

free_defs_val: free rlimits like strings (which they are).

This commit is contained in:
Todd C. Miller
2021-11-09 13:45:06 -07:00
parent 288bb82543
commit 8e656b63c8

View File

@@ -444,6 +444,7 @@ free_defs_val(int type, union sudo_defs_val *sd_un)
{
switch (type & T_MASK) {
case T_STR:
case T_RLIMIT:
free(sd_un->str);
break;
case T_LIST: