diff mbox

[fortran,5/22] Various minor fixups

Message ID 20101005100948.1836.18110@gimli.local
State New
Headers show

Commit Message

Mikael Morin Oct. 5, 2010, 10:11 a.m. UTC
2010-10-04  Mikael Morin  <mikael@gcc.gnu.org>

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

Patch

diff --git a/module.c b/module.c
index c90fe0d..a24ff0d 100644
--- a/module.c
+++ b/module.c
@@ -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')