X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=odr%2Ftest.c;fp=odr%2Ftest.c;h=854f89b7bea70488d4b564f61747396f31c8c519;hb=892f7f56860a1ee8e8d816eeaec0387c54c1a0a7;hp=77506f9c707a5f479569f12de015212a0f52fb24;hpb=08d286ddede794e73ba8b3c85497de3e0c80312b;p=yaz-moved-to-github.git diff --git a/odr/test.c b/odr/test.c index 77506f9..854f89b 100644 --- a/odr/test.c +++ b/odr/test.c @@ -70,7 +70,7 @@ int f_A(ODR o, struct A **p, int opt) }; if (o->direction == ODR_DECODE && !*p) - *p = nalloc(o, sizeof(**p)); + *p = odr_malloc(o, sizeof(**p)); res = odr_choice(o, arm, &(*p)->u, &(*p)->which); if (!res) {