summaryrefslogtreecommitdiff
path: root/app/cwm/client.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2012-11-07 20:34:40 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2012-11-07 20:34:40 +0000
commitdbf5a5de3a9b0236c52fc52715ae77413dce2fa4 (patch)
tree88fd9663afd7433e1cb06f81ed62a04676ac9589 /app/cwm/client.c
parentc5355bd4e223ad2673aa5fa06117092df3ac2dea (diff)
get rid of the xfree() wrapper around free(); from Tiago Cunha.
Diffstat (limited to 'app/cwm/client.c')
-rw-r--r--app/cwm/client.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/cwm/client.c b/app/cwm/client.c
index 2276520d5..43f41a91f 100644
--- a/app/cwm/client.c
+++ b/app/cwm/client.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: client.c,v 1.101 2012/09/09 19:47:47 okan Exp $
+ * $OpenBSD: client.c,v 1.102 2012/11/07 20:34:39 okan Exp $
*/
#include <sys/param.h>
@@ -166,12 +166,12 @@ client_delete(struct client_ctx *cc)
while ((wn = TAILQ_FIRST(&cc->nameq)) != NULL) {
TAILQ_REMOVE(&cc->nameq, wn, entry);
if (wn->name != emptystring)
- xfree(wn->name);
- xfree(wn);
+ free(wn->name);
+ free(wn);
}
client_freehints(cc);
- xfree(cc);
+ free(cc);
}
void
@@ -582,8 +582,8 @@ match:
assert(wn != NULL);
TAILQ_REMOVE(&cc->nameq, wn, entry);
if (wn->name != emptystring)
- xfree(wn->name);
- xfree(wn);
+ free(wn->name);
+ free(wn);
cc->nameqlen--;
}
}