libixp

git clone git://oldgit.suckless.org/libixp/
Log | Files | Refs | LICENSE

commit 6c543e11773f86773083a4bef94b378384031f1c
parent 802d050878d230c1803aaf51d1b23b7143821185
Author: Kris Maglione <kris@suckless.org>
Date:   Wed, 23 Feb 2011 14:36:34 -0500

Fix allocation bug.

Diffstat:
lib/libixp/srv_util.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libixp/srv_util.c b/lib/libixp/srv_util.c @@ -91,7 +91,7 @@ IxpFileId* ixp_srv_clonefiles(IxpFileId *fileid) { IxpFileId *r; - r = emalloc(sizeof *r); + r = ixp_srv_getfile(); memcpy(r, fileid, sizeof *r); r->tab.name = estrdup(r->tab.name); r->nref = 1;