projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added sort test.
[idzebra-moved-to-github.git]
/
index
/
sgmlread.c
diff --git
a/index/sgmlread.c
b/index/sgmlread.c
index
45680d0
..
38fcbe3
100644
(file)
--- a/
index/sgmlread.c
+++ b/
index/sgmlread.c
@@
-1,8
+1,5
@@
-/* $Id: sgmlread.c,v 1.4 2007-01-15 15:10:17 adam Exp $
- Copyright (C) 1995-2007
- Index Data ApS
-
-This file is part of the Zebra server.
+/* This file is part of the Zebra server.
+ Copyright (C) 1995-2008 Index Data
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
@@
-99,9
+96,9
@@
static void grs_destroy_sgml(void *clientData)
{
struct sgml_getc_info *p = (struct sgml_getc_info *) clientData;
{
struct sgml_getc_info *p = (struct sgml_getc_info *) clientData;
- wrbuf_free(p->wrbuf, 1);
- xfree (p->buf);
- xfree (p);
+ wrbuf_destroy(p->wrbuf);
+ xfree(p->buf);
+ xfree(p);
}
static int grs_extract_sgml(void *clientData, struct recExtractCtrl *ctrl)
}
static int grs_extract_sgml(void *clientData, struct recExtractCtrl *ctrl)