=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/xmalloc.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/tmux/xmalloc.c 2009/10/26 21:42:04 1.3 +++ src/usr.bin/tmux/xmalloc.c 2012/07/10 11:53:01 1.4 @@ -1,4 +1,4 @@ -/* $OpenBSD: xmalloc.c,v 1.3 2009/10/26 21:42:04 deraadt Exp $ */ +/* $OpenBSD: xmalloc.c,v 1.4 2012/07/10 11:53:01 nicm Exp $ */ /* * Copyright (c) 2004 Nicholas Marriott @@ -81,14 +81,6 @@ fatal("xrealloc failed"); return (newptr); -} - -void -xfree(void *ptr) -{ - if (ptr == NULL) - fatalx("null pointer"); - free(ptr); } int printflike2