From b43ba68cd49c5275d9a817901bc52e5ab9e1fa0f Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 7 Nov 2012 20:34:39 +0000 Subject: get rid of the xfree() wrapper around free(); from Tiago Cunha. --- mousefunc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mousefunc.c') 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 @@ -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); } } -- cgit v1.2.3-2-gb3c3