summaryrefslogtreecommitdiff
path: root/cpu/mep.opc
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/mep.opc')
-rw-r--r--cpu/mep.opc3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpu/mep.opc b/cpu/mep.opc
index 7ed3ea8ca84..34e279d98e1 100644
--- a/cpu/mep.opc
+++ b/cpu/mep.opc
@@ -855,8 +855,7 @@ mep_cgen_expand_macros_and_parse_operand (CGEN_CPU_DESC cd, int opindex,
*strp_in += (str - hold);
}
- if (hold)
- free (hold);
+ free (hold);
return errmsg;
}