diff options
author | okan <okan> | 2012-11-07 20:34:39 +0000 |
---|---|---|
committer | okan <okan> | 2012-11-07 20:34:39 +0000 |
commit | 76b0874b4caa937b5313b3604208d050b4868b04 (patch) | |
tree | 779b7d995d058ccfe4eac44ea30757a964621b31 /mousefunc.c | |
parent | dfb6aed82aa9a75d895f75984013f07a474c4d7a (diff) | |
download | cwm-76b0874b4caa937b5313b3604208d050b4868b04.tar.gz cwm-76b0874b4caa937b5313b3604208d050b4868b04.tar.xz cwm-76b0874b4caa937b5313b3604208d050b4868b04.zip |
get rid of the xfree() wrapper around free(); from Tiago Cunha.
Diffstat (limited to 'mousefunc.c')
-rw-r--r-- | mousefunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mousefunc.c b/mousefunc.c index c615052..3521d71 100644 --- a/mousefunc.c +++ b/mousefunc.c @@ -253,7 +253,7 @@ mousefunc_menu_unhide(struct client_ctx *cc, void *arg) } else { while ((mi = TAILQ_FIRST(&menuq)) != NULL) { TAILQ_REMOVE(&menuq, mi, entry); - xfree(mi); + free(mi); } } } @@ -282,6 +282,6 @@ mousefunc_menu_cmd(struct client_ctx *cc, void *arg) else while ((mi = TAILQ_FIRST(&menuq)) != NULL) { TAILQ_REMOVE(&menuq, mi, entry); - xfree(mi); + free(mi); } } |