summaryrefslogtreecommitdiff
path: root/gcc/reg-stack.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-12 15:59:31 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-12 15:59:31 +0000
commit1a727bd271df7c21a472af8eba44bd6aaf175394 (patch)
tree6b6f2da5229784d9ba34c682e5b20a02694870f6 /gcc/reg-stack.c
parentdda28f7c7652c920e2c5e184dcf42e8f38054e94 (diff)
downloadgcc-1a727bd271df7c21a472af8eba44bd6aaf175394.tar.gz
* reg-stack.c (convert_regs_2): Free stack.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92049 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r--gcc/reg-stack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c
index 2ba963efcc5..5ec8ba5b1b4 100644
--- a/gcc/reg-stack.c
+++ b/gcc/reg-stack.c
@@ -3036,6 +3036,8 @@ convert_regs_2 (FILE *file, basic_block block)
}
while (sp != stack);
+ free (stack);
+
return inserted;
}