From f7cb1f8b52e651a97ac3daeed402dcda04ce9333 Mon Sep 17 00:00:00 2001 From: okan Date: Sat, 24 Jan 2015 18:16:59 +0000 Subject: calloc -> malloc --- conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.c b/conf.c index d4f5ebe..6e4cdeb 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. * - * $OpenBSD: conf.c,v 1.183 2015/01/23 20:26:36 okan Exp $ + * $OpenBSD: conf.c,v 1.184 2015/01/24 18:16:59 okan Exp $ */ #include @@ -76,7 +76,7 @@ conf_autogroup(struct conf *c, int num, const char *val) struct autogroupwin *aw; char *p; - aw = xcalloc(1, sizeof(*aw)); + aw = xmalloc(sizeof(*aw)); if ((p = strchr(val, ',')) == NULL) { aw->name = NULL; -- cgit v1.2.3-2-gb3c3