X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fpquery.c;h=8db6ac62d5c6d3b7d707a505fa71ef8f45b387b1;hp=749ce025d7a8bfc5099554e3417ed01a5c967113;hb=2715f6522ca62ab5dbc886c21ed18945743216f0;hpb=cf4a74a0d6b17bf1c6582835a7fceaec7ad4115d diff --git a/src/pquery.c b/src/pquery.c index 749ce02..8db6ac6 100644 --- a/src/pquery.c +++ b/src/pquery.c @@ -258,7 +258,7 @@ Z_AttributeList *get_attributeList(ODR o, int num_attr, Odr_int *attr_list, return attributes; } elements = (Z_AttributeElement**) - odr_malloc (o, num_attr * sizeof(*elements)); + odr_malloc(o, num_attr * sizeof(*elements)); attr_tmp = (Odr_int *)odr_malloc(o, num_attr * 2 * sizeof(*attr_tmp)); memcpy(attr_tmp, attr_list, num_attr * 2 * sizeof(*attr_tmp));