diff options
author | okan | 2012-11-07 20:34:39 +0000 |
---|---|---|
committer | okan | 2012-11-07 20:34:39 +0000 |
commit | b43ba68cd49c5275d9a817901bc52e5ab9e1fa0f (patch) | |
tree | 84c261aa6435bed59c69a13ba6b3f0fb5fab6f2b /mousefunc.c | |
parent | fbbfab69fda3ae91cc59549b0a4e9040a30378f3 (diff) | |
download | cwm-b43ba68cd49c5275d9a817901bc52e5ab9e1fa0f.tar.gz |
get rid of the xfree() wrapper around free(); from Tiago Cunha.
Diffstat (limited to '')
-rw-r--r-- | mousefunc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mousefunc.c b/mousefunc.c index 5af8798..a5e715e 100644 --- a/mousefunc.c +++ b/mousefunc.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: mousefunc.c,v 1.38 2012/09/09 19:47:47 okan Exp $ + * $OpenBSD: mousefunc.c,v 1.39 2012/11/07 20:34:39 okan Exp $ */ #include <sys/param.h> @@ -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); } } |