diff mbox

[fortran] Committed trivial FIXME patch

Message ID BANLkTim4QbE4DhdcYvaHdk39j9LLHmA9aw@mail.gmail.com
State New
Headers show

Commit Message

Janne Blomqvist April 19, 2011, 6:17 p.m. UTC
Now that Jim Meyering has remove the macro that prevented directly
calling free(), and replaced gfc_free() with free(), we can fix this.
Committed as obvious.

Comments

Thomas Koenig April 19, 2011, 10:35 p.m. UTC | #1
Am 19.04.2011 20:17, schrieb Janne Blomqvist:
> Now that Jim Meyering has remove the macro that prevented directly
> calling free(), and replaced gfc_free() with free(), we can fix this.
> Committed as obvious.

Thanks Janne.  I had meant to do this, but hadn't gotten a round tuit.

	Thomas
diff mbox

Patch

Index: frontend-passes.c
===================================================================
--- frontend-passes.c   (revision 172727)
+++ frontend-passes.c   (working copy)
@@ -71,9 +71,7 @@  gfc_run_passes (gfc_namespace *ns)
       if (gfc_option.dump_fortran_optimized)
        gfc_dump_parse_tree (ns, stdout);

-      /* FIXME: The following should be XDELETEVEC(expr_array);
-      but we cannot do that because it depends on free.  */
-      free (expr_array);
+      XDELETEVEC (expr_array);
     }
 }