Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/binutils/dist/binutils CID 270355 fix memory leak
details: https://anonhg.NetBSD.org/src/rev/7d62244c5533
branches: trunk
changeset: 813914:7d62244c5533
user: christos <christos%NetBSD.org@localhost>
date: Fri Feb 26 16:26:24 2016 +0000
description:
CID 270355 fix memory leak
diffstat:
external/gpl3/binutils/dist/binutils/objcopy.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r 0f414399ec28 -r 7d62244c5533 external/gpl3/binutils/dist/binutils/objcopy.c
--- a/external/gpl3/binutils/dist/binutils/objcopy.c Fri Feb 26 14:34:06 2016 +0000
+++ b/external/gpl3/binutils/dist/binutils/objcopy.c Fri Feb 26 16:26:24 2016 +0000
@@ -2453,6 +2453,7 @@
off, now))
{
bfd_nonfatal_message (NULL, obfd, osections[i], NULL);
+ free (buf);
return FALSE;
}
@@ -2461,6 +2462,7 @@
}
}
}
+ free (buf);
}
/* Allow the BFD backend to copy any private data it understands
Home |
Main Index |
Thread Index |
Old Index