projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f096cbc
)
pe_bfd_read_buildid memory leak
author
Hannes Domani
<ssbssa@yahoo.de>
Thu, 26 Dec 2019 01:54:45 +0000
(12:24 +1030)
committer
Alan Modra
<amodra@gmail.com>
Thu, 26 Dec 2019 02:08:49 +0000
(12:38 +1030)
* peicode.h (pe_bfd_read_buildid): Free data.
bfd/ChangeLog
patch
|
blob
|
history
bfd/peicode.h
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 073bbb6f2b2321bec85f6a9136f8c0bf769c2334..cf8dbdc58056ed020faee5602e4d011e548407ae 100644
(file)
--- 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 e9d205a01a10437a95fc15c85094ddc5985e26c4..00ccfa0a4445704a1d75f6f3c5c6775f3c88ce9e 100644
(file)
--- 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 *