summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/session.c b/src/session.c
index 4dd91c3..7eaef4d 100644
--- a/src/session.c
+++ b/src/session.c
@@ -501,9 +501,9 @@ give_up:
free (entry->wm_command[i]);
}
if (entry->wm_command)
- free ((char *) entry->wm_command);
+ free (entry->wm_command);
- free ((char *) entry);
+ free (entry);
*pentry = NULL;
return 0;
@@ -890,7 +890,7 @@ SaveYourselfPhase2CB (SmcConn smcConn, SmPointer clientData)
props[1] = &prop2;
SmcSetProperties (smcConn, 2, props);
- free ((char *) prop1.vals);
+ free (prop1.vals);
bad:
SmcSaveYourselfDone (smcConn, success);