X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Fyaz-xmlquery.c;h=9fcab5a87c82e88c781ecb51c5c594aae7c1ae89;hp=39000fc1d46857333a49d16c39776be810565907;hb=401da56d4a26f687cd42024bdef6f29a29bb7663;hpb=728ffb55e072933a1208780272e545c51f080e90 diff --git a/util/yaz-xmlquery.c b/util/yaz-xmlquery.c index 39000fc..9fcab5a 100644 --- a/util/yaz-xmlquery.c +++ b/util/yaz-xmlquery.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: yaz-xmlquery.c,v 1.6 2007-01-03 08:42:16 adam Exp $ + * $Id: yaz-xmlquery.c,v 1.7 2007-03-19 14:40:08 adam Exp $ */ #include @@ -118,7 +118,7 @@ void xmlquerytopqf(const char *xmlstr) WRBUF w = wrbuf_alloc(); yaz_query_to_wrbuf(w, query); printf("%s\n", wrbuf_buf(w)); - wrbuf_free(w, 1); + wrbuf_destroy(w); } odr_destroy(odr); xmlFreeDoc(doc);