diff options
author | Chet Ramey <chet.ramey@case.edu> | 2022-06-03 11:33:35 -0400 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2022-06-03 11:33:35 -0400 |
commit | ebeba87477a4bddd98874f83d639b7ff15696986 (patch) | |
tree | 0cb6b811a03f515eac7add13646f1059c5cd60fc /variables.h | |
parent | eed646cc6091fc9c81294120b02cb932c85f8118 (diff) | |
download | bash-ebeba87477a4bddd98874f83d639b7ff15696986.tar.gz |
fix mem leak with local BASH_REMATCH
Diffstat (limited to 'variables.h')
-rw-r--r-- | variables.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/variables.h b/variables.h index 15fd49f2..d49ed0fb 100644 --- a/variables.h +++ b/variables.h @@ -328,6 +328,8 @@ extern int unbind_variable PARAMS((const char *)); extern int check_unbind_variable PARAMS((const char *)); extern int unbind_nameref PARAMS((const char *)); extern int unbind_variable_noref PARAMS((const char *)); +extern int unbind_global_variable PARAMS((const char *)); +extern int unbind_global_variable_noref PARAMS((const char *)); extern int unbind_func PARAMS((const char *)); extern int unbind_function_def PARAMS((const char *)); extern int delete_var PARAMS((const char *, VAR_CONTEXT *)); |