Commit 5919751c by Mikael Morin

module.c (gfc_use_module): Free atom_string when done with it.

2010-10-06  Mikael Morin  <mikael@gcc.gnu.org>

	* module.c (gfc_use_module): Free atom_string when done with it.

From-SVN: r165029
parent 3e212b5d
2010-10-06 Mikael Morin <mikael@gcc.gnu.org>
* module.c (gfc_use_module): Free atom_string when done with it.
2010-10-06 Mikael Morin <mikael@gcc.gnu.org>
* module.c (read_module): Remove useless string duplication.
2010-10-06 Mikael Morin <mikael@gcc.gnu.org>
......
......@@ -5687,6 +5687,8 @@ gfc_use_module (void)
"for file '%s' opened at %C", atom_string,
MOD_VERSION, filename);
}
gfc_free (atom_string);
}
if (c == '\n')
......
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