projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace "if (x) free (x)" with "free (x)", binutils
[deliverable/binutils-gdb.git]
/
binutils
/
windres.c
diff --git
a/binutils/windres.c
b/binutils/windres.c
index 9b921ba2bc654258543fc1a5d748a9fa95fdf12f..427e9823ce784edc6cd852cf3141b6cd998af2e5 100644
(file)
--- a/
binutils/windres.c
+++ b/
binutils/windres.c
@@
-704,8
+704,7
@@
quot (const char *string)
if ((buflen < slen * 2 + 2) || ! buf)
{
buflen = slen * 2 + 2;
- if (buf)
- free (buf);
+ free (buf);
buf = (char *) xmalloc (buflen);
}
This page took
0.022556 seconds
and
4
git commands to generate.