do not free the graph after emitting it (this should only change the peak memory...
[libfirm] / ir / be / beirg.c
index c19bac6..262dadc 100644 (file)
@@ -70,4 +70,7 @@ void be_free_birg(be_irg_t *birg)
                be_liveness_free(birg->lv);
                birg->lv = NULL;
        }
+
+       obstack_free(&birg->obst, NULL);
+       birg->irg->be_data = NULL;
 }