===================================================================
@@ -1,5 +1,10 @@
2013-03-01 Tobias Burnus <burnus@net-b.de>
+ * iresolve.c (resolve_bound): Use gfc_get_string instead of xstrdup.
+ * symbol.c (free_components): Free proc-pointer components.
+
+2013-03-01 Tobias Burnus <burnus@net-b.de>
+
* trans-decl.c (gfc_trans_deferred_vars): Free expr after use.
* trans-io.c (build_dt): Ditto.
===================================================================
@@ -140,7 +140,7 @@ resolve_bound (gfc_expr *f, gfc_expr *array, gfc_e
}
}
- f->value.function.name = xstrdup (name);
+ f->value.function.name = gfc_get_string (name);
}
===================================================================
@@ -2076,6 +2076,7 @@ free_components (gfc_component *p)
gfc_free_array_spec (p->as);
gfc_free_expr (p->initializer);
+ free (p->tb);
free (p);
}