From: Martin Mares Date: Wed, 22 Jan 2003 18:31:21 +0000 (+0000) Subject: Oops, forgot this one. X-Git-Tag: holmes-import~1296 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=9985961cc5f49e65725abdda4edfaec58be533f6;p=libucw.git Oops, forgot this one. --- diff --git a/lib/object.c b/lib/object.c index daa5c973..b2237472 100644 --- a/lib/object.c +++ b/lib/object.c @@ -42,7 +42,7 @@ obj_new(struct mempool *pool) { struct odes *o; - o = mp_alloc(lp, sizeof(struct odes)); + o = mp_alloc(pool, sizeof(struct odes)); o->pool = pool; o->attrs = NULL; o->cached_attr = NULL;