aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/msp430.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/msp430.em')
-rw-r--r--ld/emultempl/msp430.em3
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/emultempl/msp430.em b/ld/emultempl/msp430.em
index 850c3a8..c823a6d 100644
--- a/ld/emultempl/msp430.em
+++ b/ld/emultempl/msp430.em
@@ -330,8 +330,7 @@ gld${EMULATION_NAME}_place_orphan (asection * s,
end:
free (upper_name);
free (lower_name);
- if (buf)
- free (buf);
+ free (buf);
return lower;
}
EOF