ICF: fix memory leak
authorMartin Liska <mliska@suse.cz>
Tue, 9 Feb 2021 08:57:04 +0000 (09:57 +0100)
committerMartin Liska <mliska@suse.cz>
Wed, 10 Feb 2021 08:25:38 +0000 (09:25 +0100)
commitd44f56f2b2d4f0a827ba6f08aebc715786225c6f
tree92b2979ebd7f5f45cf6e913f43812d0472a12c95
parente1782d8ad10dc6b556e118fd25fdaff04ce54dde
ICF: fix memory leak

gcc/ChangeLog:

PR ipa/99003
* ipa-icf.c (sem_item::add_reference): Fix memory leak when
a reference exists.
gcc/ipa-icf.c