]> mj.ucw.cz Git - libucw.git/commitdiff
Oops, forgot this one.
authorMartin Mares <mj@ucw.cz>
Wed, 22 Jan 2003 18:31:21 +0000 (18:31 +0000)
committerMartin Mares <mj@ucw.cz>
Wed, 22 Jan 2003 18:31:21 +0000 (18:31 +0000)
lib/object.c

index daa5c9736c4d3513bf02ade21d248b96323c81f8..b22374723272ca8301a5678da06c57c45341737f 100644 (file)
@@ -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;