From 579efe92d1c484a6d8b9399b2abdb6440f9e92ea Mon Sep 17 00:00:00 2001 From: oga Date: Wed, 16 Apr 2008 13:38:09 +0000 Subject: Replace a few leftover calls to strdup and calloc with xstrdup and xcalloc respectively. ok okan. --- conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index dc2b588..8ae68e9 100644 --- a/conf.c +++ b/conf.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. * - * $Id: conf.c,v 1.26 2008/04/15 20:24:41 oga Exp $ + * $Id: conf.c,v 1.27 2008/04/16 13:38:09 oga Exp $ */ #include "headers.h" @@ -360,7 +360,7 @@ conf_bindname(struct conf *c, char *name, char *binding) return; current_binding->callback = kbfunc_cmdexec; - current_binding->argument = strdup(binding); + current_binding->argument = xstrdup(binding); current_binding->flags = 0; TAILQ_INSERT_TAIL(&c->keybindingq, current_binding, entry); return; -- cgit v1.2.3-2-gb3c3