aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/peicode.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 073bbb6..cf8dbdc 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2019-12-26 Hannes Domani <ssbssa@yahoo.de>
+
+ * peicode.h (pe_bfd_read_buildid): Free data.
+
2019-12-23 Alan Modra <amodra@gmail.com>
* vms-alpha.c (add_symbol): Add "max" parameter. Error on string
diff --git a/bfd/peicode.h b/bfd/peicode.h
index e9d205a..00ccfa0 100644
--- a/bfd/peicode.h
+++ b/bfd/peicode.h
@@ -1396,6 +1396,8 @@ pe_bfd_read_buildid (bfd *abfd)
break;
}
}
+
+ free (data);
}
static const bfd_target *