mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-15 22:21:20 +08:00
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
This commit is contained in:
parent
3e212b5d2b
commit
5919751c15
@ -1,3 +1,7 @@
|
||||
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.
|
||||
|
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user