projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ICU: Remove dead code (non-iterator code)
[yaz-moved-to-github.git]
/
test
/
tstxmlquery.c
diff --git
a/test/tstxmlquery.c
b/test/tstxmlquery.c
index
0857804
..
8164d80
100644
(file)
--- a/
test/tstxmlquery.c
+++ b/
test/tstxmlquery.c
@@
-1,8
+1,6
@@
-/*
- * Copyright (C) 1995-2007, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2009 Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- *
- * $Id: tstxmlquery.c,v 1.16 2007-03-19 22:17:41 adam Exp $
*/
#include <stdlib.h>
*/
#include <stdlib.h>
@@
-95,6
+93,7
@@
enum pqf2xml_status pqf2xml_text(const char *pqf, const char *expect_xml,
status = XML_NO_MATCH;
}
xmlFreeDoc(doc);
status = XML_NO_MATCH;
}
xmlFreeDoc(doc);
+ xmlFree(buf_out);
}
#else
status = QUERY2XML_FAILED;
}
#else
status = QUERY2XML_FAILED;
@@
-242,6
+241,7
@@
int main (int argc, char **argv)
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab