Fix memory leaks

This commit is contained in:
Nick Clifton
2003-03-31 18:13:25 +00:00
parent ee42cf8cc5
commit 5ed6aba41c
16 changed files with 187 additions and 101 deletions

View File

@@ -5276,6 +5276,7 @@ lang_register_vers_node (name, version, deps)
|| (lang_elf_version_info && lang_elf_version_info->name[0] == '\0'))
{
einfo (_("%X%P: anonymous version tag cannot be combined with other version tags\n"));
free (version);
return;
}