summaryrefslogtreecommitdiff
path: root/src/iconmgr.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-18 10:18:21 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-18 10:18:21 -0700
commit58f3c3b8d518786764f45ac2be1f1f0850129125 (patch)
treedb01e99d81fe6120d5a9311c2d0fb768b8b9ac70 /src/iconmgr.c
parent2a637337713c5c92c44249b88e31696ce9efdf9b (diff)
Stop casting pointers to (char *) when freeing them
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/iconmgr.c')
-rw-r--r--src/iconmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iconmgr.c b/src/iconmgr.c
index 78e88b3..f7b01f0 100644
--- a/src/iconmgr.c
+++ b/src/iconmgr.c
@@ -534,7 +534,7 @@ void RemoveIconManager(TwmWindow *tmp_win)
XDeleteContext(dpy, tmp->w, ScreenContext);
XDestroyWindow(dpy, tmp->w);
ip->count -= 1;
- free((char *) tmp);
+ free(tmp);
PackIconManager(ip);