From: Adam Dickmeiss Date: Fri, 27 Apr 2007 09:48:28 +0000 (+0000) Subject: Fix leak in test X-Git-Tag: YAZ.3.0.0~21 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=0725af5d06bfcdaf9888886f04c63810c1d8cf72;p=yaz-moved-to-github.git Fix leak in test --- diff --git a/test/tstccl.c b/test/tstccl.c index 6b3ff05..95975cc 100644 --- a/test/tstccl.c +++ b/test/tstccl.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: tstccl.c,v 1.16 2007-04-25 20:52:19 adam Exp $ + * $Id: tstccl.c,v 1.17 2007-04-27 09:48:28 adam Exp $ */ /* CCL test */ @@ -127,6 +127,8 @@ void tst1(int pass) r = ccl_xml_config(bibset, xmlDocGetRootElement(doc), &addinfo); YAZ_CHECK_EQ(r, 0); + + xmlFreeDoc(doc); } break; #else