projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45be483
)
Call free functions.
author
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Thu, 31 Jul 2008 19:15:44 +0000
(19:15 +0000)
committer
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Thu, 31 Jul 2008 19:15:44 +0000
(19:15 +0000)
[r20854]
ir/be/belive.c
patch
|
blob
|
history
diff --git
a/ir/be/belive.c
b/ir/be/belive.c
index
25ec518
..
8a81f54
100644
(file)
--- a/
ir/be/belive.c
+++ b/
ir/be/belive.c
@@
-620,7
+620,11
@@
void be_liveness_recompute(be_lv_t *lv)
void be_liveness_free(be_lv_t *lv)
{
be_liveness_invalidate(lv);
- free(lv);
+#ifdef USE_LIVE_CHK
+ lv_chk_free(lv->lvc);
+ dfs_free(lv->dfs);
+#endif
+ xfree(lv);
}
void be_liveness_remove(be_lv_t *lv, const ir_node *irn)