Commit 6bafccc2 authored by yb9976's avatar yb9976
Browse files

Fixed one more memory leak.

[r20864]
parent 8c926c8d
......@@ -138,12 +138,12 @@ void free_ir_prog(void) {
free_type(irp->segment_types[i]);
}
/* @@@ * free_ir_graph(irp->const_code_irg); * ?? End has no in?? */
DEL_ARR_F(irp->graphs);
DEL_ARR_F(irp->pseudo_graphs);
DEL_ARR_F(irp->types);
DEL_ARR_F(irp->modes);
DEL_ARR_F(irp->opcodes);
free_ir_graph(irp->const_code_irg);
irp->name = NULL;
irp->const_code_irg = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment