summaryrefslogtreecommitdiff
path: root/src/sm_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sm_misc.c')
-rw-r--r--src/sm_misc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sm_misc.c b/src/sm_misc.c
index c081611..83d1259 100644
--- a/src/sm_misc.c
+++ b/src/sm_misc.c
@@ -54,11 +54,11 @@ SmFreeProperty(SmProp *prop)
{
for (i = 0; i < prop->num_vals; i++)
if (prop->vals[i].value)
- free ((char *) prop->vals[i].value);
- free ((char *) prop->vals);
+ free (prop->vals[i].value);
+ free (prop->vals);
}
- free ((char *) prop);
+ free (prop);
}
}
@@ -77,7 +77,7 @@ SmFreeReasons(int count, char **reasonMsgs)
for (i = 0; i < count; i++)
free (reasonMsgs[i]);
- free ((char *) reasonMsgs);
+ free (reasonMsgs);
}
}