From 0725af5d06bfcdaf9888886f04c63810c1d8cf72 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 27 Apr 2007 09:48:28 +0000 Subject: [PATCH] Fix leak in test --- test/tstccl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 1.7.10.4