aboutsummaryrefslogtreecommitdiff
path: root/gprofng/src/CompCom.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gprofng/src/CompCom.cc')
-rw-r--r--gprofng/src/CompCom.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprofng/src/CompCom.cc b/gprofng/src/CompCom.cc
index 3a035a9..14d6fc3 100644
--- a/gprofng/src/CompCom.cc
+++ b/gprofng/src/CompCom.cc
@@ -305,7 +305,7 @@ CompComment::compcom_format (int index, compmsg *msg, int &visible)
for (int i = 0; i < plist_idx - 1; i++)
{
prim_ty = ccm_param_primtype (msg->msg_type, i + 1);
- if (prim_ty == CCM_PRIMTYPE_STRING || prim_ty == CCM_PRIMTYPE_STRING)
+ if (prim_ty == CCM_PRIMTYPE_STRING)
free (parms[i]);
}
}