expr.c (gfc_check_assign_symbol): Free lvalue.ref.
2013-09-18 Tobias Burnus <burnus@net-b.de> * expr.c (gfc_check_assign_symbol): Free lvalue.ref. From-SVN: r202722
This commit is contained in:
parent
8a26ad39c4
commit
e3816ac91f
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-09-18 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
* expr.c (gfc_check_assign_symbol): Free lvalue.ref.
|
||||
|
||||
2013-09-18 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
PR fortran/43366
|
||||
|
|
|
@ -3824,6 +3824,7 @@ gfc_check_assign_symbol (gfc_symbol *sym, gfc_component *comp, gfc_expr *rvalue)
|
|||
r = gfc_check_assign (&lvalue, rvalue, 1);
|
||||
|
||||
free (lvalue.symtree);
|
||||
free (lvalue.ref);
|
||||
|
||||
if (!r)
|
||||
return r;
|
||||
|
|
Loading…
Add table
Reference in a new issue