summary refs log tree commit diff
path: root/conf.c
diff options
context:
space:
mode:
authoroga <oga>2008-04-16 13:38:09 +0000
committeroga <oga>2008-04-16 13:38:09 +0000
commitf473dc3d12f4a1237fa020bff58fd44c3c6489de (patch)
tree7584efc245cd1a99b292a7fe07f3dbcf60eab7fc /conf.c
parentf67772be650718b2e408a26ef08e1946a0abf1ab (diff)
downloadcwm-f473dc3d12f4a1237fa020bff58fd44c3c6489de.tar.gz
cwm-f473dc3d12f4a1237fa020bff58fd44c3c6489de.tar.xz
cwm-f473dc3d12f4a1237fa020bff58fd44c3c6489de.zip
Replace a few leftover calls to strdup and calloc with xstrdup and xcalloc
respectively.

ok okan.
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index 1aa56dd..4369af3 100644
--- a/conf.c
+++ b/conf.c
@@ -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;